bug 79888

This commit is contained in:
赵霄
2023-12-26 11:06:13 +08:00
parent 2dbd5f17ea
commit 31326e30c9
@@ -192,6 +192,7 @@ export default {
return filterText.substring(index + searchVal.length) return filterText.substring(index + searchVal.length)
}, },
handleSearchNode (node) { handleSearchNode (node) {
this.currentNodeName = node.name
this.$refs.mindMap.searchNode(node.id) this.$refs.mindMap.searchNode(node.id)
}, },
/** /**
@@ -200,6 +201,7 @@ export default {
*/ */
handleSelectNode (node) { handleSelectNode (node) {
this.selectedNodeId = node.id this.selectedNodeId = node.id
this.currentNodeName = node.name
this.selectedNode = Object.assign({}, node || {}) this.selectedNode = Object.assign({}, node || {})
}, },
modalFormOk () { modalFormOk () {