fix(promptlib): 1.5.8 拖拽 payload 带 pluginId/nodeType(修未知节点类型)
This commit is contained in:
1 parent
8b72967381
commit
5c34856c6a
1 file changed
+1
-1
@@ -940,7 +940,7 @@
|
||||
text: p.text || '', name: p.name || '',
|
||||
vars: vd.map(function (v) { return v.key }),
|
||||
vdefs: vd,
|
||||
cover: p.cover || '',
|
||||
cover: p.cover || '', pluginId: ctx.id, nodeType: 'ptpl',
|
||||
}))
|
||||
e.dataTransfer.setData('application/x-iwb-promptid', p.id)
|
||||
e.dataTransfer.setData('text/plain', (p.text || '').slice(0, 200))
|
||||
|
||||
Reference in new issue
Block a user