This commit is contained in:
lyc 2024-07-10 18:04:28 +08:00
parent ef273b86b1
commit de9d57cbbc
1 changed files with 1 additions and 10 deletions

View File

@ -95,16 +95,7 @@ const getTreeData = () => {
// //
let upData = transData(volumeOne.value) let upData = transData(volumeOne.value)
let downData = transData(volumeTwo.value) let downData = transData(volumeTwo.value)
treeData.value = [ treeData.value = upData.length ? upData : downData
{
label: "上册",
children: [...upData]
},
{
label: "下册",
children: [...downData]
}
]
} }