This commit is contained in:
@@ -492,6 +492,14 @@
|
||||
loadShops()
|
||||
})
|
||||
|
||||
let isFirstActivation = true
|
||||
onActivated(() => {
|
||||
if (!isFirstActivation) {
|
||||
getTableData()
|
||||
}
|
||||
isFirstActivation = false
|
||||
})
|
||||
|
||||
// 构建树形数据
|
||||
const buildTreeData = (items: ShopResponse[]) => {
|
||||
const map = new Map<number, ShopResponse & { children?: ShopResponse[] }>()
|
||||
|
||||
Reference in New Issue
Block a user