bug 79890
This commit is contained in:
@@ -323,14 +323,17 @@ export default {
|
||||
* @param nodeId
|
||||
*/
|
||||
searchNode (nodeId) {
|
||||
const item = this.graph.findById(nodeId)
|
||||
this.graph.setItemState(nodeId, 'selected', true)
|
||||
if (this.lastQueryId) {
|
||||
this.graph.setItemState(this.lastQueryId, 'selected', false)
|
||||
}
|
||||
if (this.selectedNodeId) {
|
||||
this.graph.setItemState(this.selectedNodeId, 'selected', false)
|
||||
}
|
||||
if (!nodeId) {
|
||||
return
|
||||
}
|
||||
const item = this.graph.findById(nodeId)
|
||||
this.graph.setItemState(nodeId, 'selected', true)
|
||||
const node = this.graph.findById(nodeId)
|
||||
this.selectedNodeId = nodeId
|
||||
this.$emit('select', node._cfg.model)
|
||||
|
||||
Reference in New Issue
Block a user