From 4a0a77c9d90ba1f233dc276876015addbfb08dc0 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Thu, 12 Jan 2023 16:50:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=85=A5=E9=A1=B5=E9=9D=A2=E4=BF=9D?= =?UTF-8?q?=E7=95=99swagger=E4=B8=8A=E6=AC=A1=E9=85=8D=E7=BD=AE=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=AE=B0=E5=BD=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1021412--user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001021412 --- .../src/business/definition/components/import/ApiImport.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api-test/frontend/src/business/definition/components/import/ApiImport.vue b/api-test/frontend/src/business/definition/components/import/ApiImport.vue index 5695896188..db3d0e0450 100644 --- a/api-test/frontend/src/business/definition/components/import/ApiImport.vue +++ b/api-test/frontend/src/business/definition/components/import/ApiImport.vue @@ -12,7 +12,7 @@
{{ $t('api_test.api_import.data_format') }}
- {{ item.name }} + {{ item.name }} @@ -480,6 +480,7 @@ export default { if (value !== 'Swagger2') { this.clearAuthInfo(); this.authEnable = false; + this.swaggerUrlEnable = false; } }, buildParam() { @@ -519,7 +520,9 @@ export default { swaggerUrl: '', modeId: this.formData.modeId, }; + this.clearAuthInfo(); this.swaggerUrlEnable = false; + this.authEnable = false; this.selectedPlatformValue = 'Metersphere'; this.fileList = []; removeGoBackListener(this.close);