edit
This commit is contained in:
parent
ef273b86b1
commit
de9d57cbbc
|
@ -95,16 +95,7 @@ const getTreeData = () => {
|
|||
//数据过滤
|
||||
let upData = transData(volumeOne.value)
|
||||
let downData = transData(volumeTwo.value)
|
||||
treeData.value = [
|
||||
{
|
||||
label: "上册",
|
||||
children: [...upData]
|
||||
},
|
||||
{
|
||||
label: "下册",
|
||||
children: [...downData]
|
||||
}
|
||||
]
|
||||
treeData.value = upData.length ? upData : downData
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue