diff --git a/core/core-frontend/src/views/visualized/data/datasource/form/DsTypeList.vue b/core/core-frontend/src/views/visualized/data/datasource/form/DsTypeList.vue index 034d6c5fbd..3aa4dc8232 100644 --- a/core/core-frontend/src/views/visualized/data/datasource/form/DsTypeList.vue +++ b/core/core-frontend/src/views/visualized/data/datasource/form/DsTypeList.vue @@ -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 } }) }