fix(接口测试): 修复接口编辑页删除唯一case修改api参数点击保存仍弹出一键同步弹框问题

--bug=1028170 --user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001028170
This commit is contained in:
guoyuqi 2023-07-26 20:48:49 +08:00 committed by fit2-zhao
parent 69ff85af0e
commit 69e888d473
1 changed files with 2 additions and 0 deletions

View File

@ -1138,6 +1138,8 @@ export default {
apiTestCaseCount({ id: this.httpForm.id }).then((response) => {
if (response.data > 0) {
this.httpForm.caseTotal = response.data;
} else {
this.httpForm.caseTotal = 0;
}
});
},