diff --git a/frontend/src/views/system/datasource/DsConfiguration.vue b/frontend/src/views/system/datasource/DsConfiguration.vue index c738838ef6..882fa131e2 100644 --- a/frontend/src/views/system/datasource/DsConfiguration.vue +++ b/frontend/src/views/system/datasource/DsConfiguration.vue @@ -434,7 +434,7 @@ { + + this.$refs.apiItemBasicInfo.validate((valid) => { if (valid) { const data = JSON.parse(JSON.stringify(this.apiItem)); this.loading = true; @@ -977,7 +975,7 @@ export default { }, closeEditItem() { this.active = 0; - this.$refs.apiItem.clearValidate(); + this.$refs.apiItemBasicInfo.clearValidate(); this.edit_api_item = false; }, saveItem() {