fix(测试跟踪): 切换项目报错
This commit is contained in:
parent
7a7e0b6175
commit
cf79bbe167
|
@ -175,7 +175,9 @@ export default {
|
|||
}
|
||||
},
|
||||
setCurrentKey() {
|
||||
this.$refs.nodeTree.setCurrentKey(this.currentNode);
|
||||
if (this.$refs.nodeTree) {
|
||||
this.$refs.nodeTree.setCurrentKey(this.currentNode);
|
||||
}
|
||||
},
|
||||
increase(id) {
|
||||
this.$refs.nodeTree.increase(id);
|
||||
|
|
Loading…
Reference in New Issue