From 67a62ead86d87156375fc9615674ea7d58cf4b15 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Tue, 30 Aug 2022 11:35:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20API=20=E6=95=B0=E6=8D=AE=E9=9B=86?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/system/datasource/DsConfiguration.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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() {