Merge pull request #11362 from dataease/pr@dev-v2@refactor_ds
refactor(数据源): 优化插件加载展示
This commit is contained in:
commit
e9ca0286e9
@ -96,7 +96,9 @@ const loadDsPlugin = data => {
|
||||
}
|
||||
const index = typeList.findIndex(ele => ele === node.catalog)
|
||||
if (index !== -1) {
|
||||
databaseList.value[index].push(node)
|
||||
let copiedArr = JSON.parse(JSON.stringify(databaseList.value))
|
||||
copiedArr[index].push(node)
|
||||
databaseList.value = copiedArr
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user