edit #10

Merged
lyc merged 1 commits from lyc-dev into main 2024-07-10 18:04:57 +08:00
1 changed files with 1 additions and 10 deletions
Showing only changes of commit de9d57cbbc - Show all commits

View File

@ -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
}