Commit ce75b3d7 authored by xiexingan's avatar xiexingan

tj

parent 27406560
......@@ -824,6 +824,7 @@ export default {
) {
return
}
// 初始 !this.tierMap
if (!this.tierMap) {
this.currentNode = this.$refs.tree.getNode(
this.treeData[0].children[0].id
......@@ -866,7 +867,7 @@ export default {
)
}
//将选中的层级树节点设置为选中
this.$refs.tree.setCurrentNode(this.currentNode)
this.$refs.tree.setCurrentNode(this.treeData[0].children[0])
Vue.set(this.tierMap, 'iconB', true)
this.defaultExpandedKeys = [this.currentNode.id]
this.isFlag(this.treeData, this.currentNode.id)
......
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