fix (接口自动化): 修复场景导入模式默认值选择问题 #1005687

--bug=1005687 --user=赵勇 【接口测试】导入接口... https://www.tapd.cn/55049933/s/1036723
This commit is contained in:
fit2-zhao 2021-08-19 15:30:41 +08:00 committed by fit2-zhao
parent 8e3889e357
commit fc81128528
1 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,6 @@
this.currentModule = module; this.currentModule = module;
this.visible = true; this.visible = true;
listenGoBack(this.close); listenGoBack(this.close);
}, },
upload(file) { upload(file) {
this.formData.file = file.file; this.formData.file = file.file;
@ -255,7 +254,8 @@
close() { close() {
this.formData = { this.formData = {
file: undefined, file: undefined,
swaggerUrl: '' swaggerUrl: '',
modeId: this.formData.modeId,
}; };
this.fileList = []; this.fileList = [];
removeGoBackListener(this.close); removeGoBackListener(this.close);