refactor(测试跟踪): 创建功能用例选择版本创建报错
--bug=1015334 --user=陈建星 【测试跟踪】创建功能用例,选择版本-操作-新建,报500 https://www.tapd.cn/55049933/s/1210250
This commit is contained in:
parent
8153743682
commit
9282ae0ad6
|
@ -1078,9 +1078,13 @@ export default {
|
||||||
},
|
},
|
||||||
hasOtherInfo() {
|
hasOtherInfo() {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
this.$get("test/case/hasOtherInfo/" + this.form.id, (res) => {
|
if (this.form.id) {
|
||||||
resolve(res.data);
|
this.$get("test/case/hasOtherInfo/" + this.form.id, (res) => {
|
||||||
})
|
resolve(res.data);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
resolve();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue