Compare commits
2 Commits
b0b429c7aa
...
59de30b6b2
Author | SHA1 | Date |
---|---|---|
yangws | 59de30b6b2 | |
yangws | 746cb150c4 |
|
@ -64,6 +64,8 @@ const getVertion = (data) => {
|
|||
childs: []
|
||||
}
|
||||
})
|
||||
//判断是否存在该教材,有则展示第一项
|
||||
if(treeData.value.length === 0) return
|
||||
nextTick(() => {
|
||||
defaultExpandedKeys.value = [treeData.value[0].id]
|
||||
node.currentNode.data = treeData.value[0]
|
||||
|
|
Loading…
Reference in New Issue