Commit 016289ee by pangchong

refactor(editor): 删除多余的空行优化代码结构

- 移除 NodeTree 组件功能文件中冗余的空行
- 保持代码风格统一,提高代码可读性
- 优化右键下拉菜单数据计算逻辑的代码布局
parent 16d381f4
...@@ -1278,7 +1278,6 @@ export function useNodeTree( ...@@ -1278,7 +1278,6 @@ export function useNodeTree(
return clone(node, newParentId) return clone(node, newParentId)
} }
// 右键下拉菜单数据 // 右键下拉菜单数据
const dropdownOptions = computed<DropdownOption[]>(() => { const dropdownOptions = computed<DropdownOption[]>(() => {
if (!contextNodeId.value) return [] if (!contextNodeId.value) return []
......
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