微调
This commit is contained in:
@@ -1099,7 +1099,7 @@ const toColTreeData = (treeData: any[]) => {
|
||||
item.keys = parent ? parent.keys.concat([item.id]) : [item.id]
|
||||
if (!item.children || !item.children.length) {
|
||||
const row: any = {}
|
||||
console.log("🚀 ~ item.keys.forEach ~ item:", item)
|
||||
|
||||
|
||||
item.keys.forEach((key: any, index: number) => {
|
||||
const level = index + 1
|
||||
@@ -1114,8 +1114,7 @@ const toColTreeData = (treeData: any[]) => {
|
||||
list.push(row)
|
||||
}
|
||||
}, options)
|
||||
console.log("🚀 ~ toColTreeData ~ list:", list)
|
||||
|
||||
|
||||
tableData.value = list
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user