refactor(接口定义): 修复接口导入选择har控制台报错的缺陷 (#15722)
--bug=1014803 --user=王孝刚 【接口测试】覆盖模式,不选择模块,导入har格式接口,console有报错,页面没反应 https://www.tapd.cn/55049933/s/1200145 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
a137eb7917
commit
ddec01f9b0
|
@ -466,7 +466,7 @@ export default {
|
||||||
if (this.currentModule) {
|
if (this.currentModule) {
|
||||||
param.modeId = this.formData.modeId
|
param.modeId = this.formData.modeId
|
||||||
}
|
}
|
||||||
if (this.formData.moduleId.length === 0) {
|
if (this.formData.moduleId && this.formData.moduleId.length === 0) {
|
||||||
param.moduleId = ''
|
param.moduleId = ''
|
||||||
}
|
}
|
||||||
param.projectId = this.projectId;
|
param.projectId = this.projectId;
|
||||||
|
|
Loading…
Reference in New Issue