fix: 接口导入页面提示为空白

This commit is contained in:
chenjianxing 2021-04-28 21:12:47 +08:00 committed by jianxing
parent a80786672b
commit 163edb937f
1 changed files with 1 additions and 3 deletions

View File

@ -194,13 +194,11 @@
fileList: [] fileList: []
} }
}, },
activated() {
this.selectedPlatform = this.platforms[0];
},
created() { created() {
this.platforms.push(this.postmanPlanform); this.platforms.push(this.postmanPlanform);
this.platforms.push(this.swaggerPlanform); this.platforms.push(this.swaggerPlanform);
this.platforms.push(this.harPlanform); this.platforms.push(this.harPlanform);
this.selectedPlatform = this.platforms[0];
}, },
watch: { watch: {
selectedPlatformValue() { selectedPlatformValue() {