fix(工作台): 解决我的待办接口定义待更新跳转保存没有弹窗问题

--user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001018961
This commit is contained in:
guoyuqi 2022-10-27 14:18:26 +08:00 committed by 刘瑞斌
parent 9c8d272e5b
commit 6f5724b996
1 changed files with 8 additions and 0 deletions

View File

@ -871,6 +871,13 @@ export default {
this.citedScenarioCount = response.data;
}
});
},
getCaseCount() {
apiTestCaseCount({id: this.httpForm.id}).then(response => {
if (response.data > 0) {
this.httpForm.caseTotal = response.data;
}
});
}
},
@ -904,6 +911,7 @@ export default {
this.getVersionHistory();
this.getSyncRule();
this.getCitedScenarioCount();
this.getCaseCount();
}
},
mounted() {