fix(promptlib): 1.5.8 拖拽 payload 带 pluginId/nodeType(修未知节点类型)

This commit is contained in:
qiqi committed 2026-11-22 17:09:23 +08:00
1 parent 8b72967381
commit 5c34856c6a
1 file changed
+1 -1
+1 -1
View File
@@ -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))