diff --git a/frontend/src/views/system/datasource/DsTable.vue b/frontend/src/views/system/datasource/DsTable.vue index b3feee97f7..dbf2b96ed1 100644 --- a/frontend/src/views/system/datasource/DsTable.vue +++ b/frontend/src/views/system/datasource/DsTable.vue @@ -67,6 +67,7 @@ @editeTodisable="editDatasource" :canEdit="canEdit" ref="DsFormContent" + @refresh-type="refreshType" :config-from-tabs="configFromTabs" /> @@ -101,6 +102,9 @@ export default { } }, methods: { + refreshType(form) { + this.$emit('refresh-type', form) + }, editDatasource(type = false) { this.$refs.DsFormContent.editDatasource(type) this.canEdit = type