mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
refactor(测试跟踪): 创建功能用例选择版本创建报错
--bug=1015334 --user=陈建星 【测试跟踪】创建功能用例,选择版本-操作-新建,报500 https://www.tapd.cn/55049933/s/1210250
This commit is contained in:
parent
76b7403063
commit
f122eed8a1
@ -1078,9 +1078,13 @@ export default {
|
||||
},
|
||||
hasOtherInfo() {
|
||||
return new Promise((resolve) => {
|
||||
this.$get("test/case/hasOtherInfo/" + this.form.id, (res) => {
|
||||
resolve(res.data);
|
||||
})
|
||||
if (this.form.id) {
|
||||
this.$get("test/case/hasOtherInfo/" + this.form.id, (res) => {
|
||||
resolve(res.data);
|
||||
});
|
||||
} else {
|
||||
resolve();
|
||||
}
|
||||
}
|
||||
);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user