fix: 修复快捷命令选中search节点错误的问题

This commit is contained in:
Aaron3S
2023-05-17 14:57:23 +08:00
committed by Jiangjie.Bai
parent 83a116c094
commit bdfc608534

View File

@@ -333,7 +333,7 @@ export default {
getSelectedNodes() {
return this.ztree.getCheckedNodes().filter(node => {
const status = node.getCheckStatus()
return status.half === false
return node.id !== 'search' && status.half === false
})
},