Commit a326a6e7 by pangchong

feat: 修复编辑器右键--避免了 DOM 销毁导致的浮层定位异常

parent 5acc4e68
...@@ -934,7 +934,7 @@ export function useEditAreaContextMenu(props: EditAreaContextMenuProps, emit: (e ...@@ -934,7 +934,7 @@ export function useEditAreaContextMenu(props: EditAreaContextMenuProps, emit: (e
}, },
`目标: ${activeNodeName.value}` `目标: ${activeNodeName.value}`
), ),
key: `headerTarget:${activeNodeId.value}`, key: 'headerTarget',
icon: icon(LayersOutline), icon: icon(LayersOutline),
children: levelChildren.length > 1 ? levelChildren : undefined children: levelChildren.length > 1 ? levelChildren : undefined
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment