Compare commits
No commits in common. "59de30b6b20f04b64589073fa0397d70cb8cfb62" and "b0b429c7aa6da7326a304ab5d0903b4541f3b97b" have entirely different histories.
59de30b6b2
...
b0b429c7aa
|
@ -64,8 +64,6 @@ const getVertion = (data) => {
|
||||||
childs: []
|
childs: []
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
//判断是否存在该教材,有则展示第一项
|
|
||||||
if(treeData.value.length === 0) return
|
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
defaultExpandedKeys.value = [treeData.value[0].id]
|
defaultExpandedKeys.value = [treeData.value[0].id]
|
||||||
node.currentNode.data = treeData.value[0]
|
node.currentNode.data = treeData.value[0]
|
||||||
|
|
Loading…
Reference in New Issue