From 163edb937f60f577f8a58dcbd64dac8b959f1401 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 28 Apr 2021 21:12:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8E=A5=E5=8F=A3=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=8F=90=E7=A4=BA=E4=B8=BA=E7=A9=BA=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/definition/components/import/ApiImport.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/import/ApiImport.vue b/frontend/src/business/components/api/definition/components/import/ApiImport.vue index 21f94da6a7..afdec45c36 100644 --- a/frontend/src/business/components/api/definition/components/import/ApiImport.vue +++ b/frontend/src/business/components/api/definition/components/import/ApiImport.vue @@ -194,13 +194,11 @@ fileList: [] } }, - activated() { - this.selectedPlatform = this.platforms[0]; - }, created() { this.platforms.push(this.postmanPlanform); this.platforms.push(this.swaggerPlanform); this.platforms.push(this.harPlanform); + this.selectedPlatform = this.platforms[0]; }, watch: { selectedPlatformValue() {