refactor(接口测试): 解决接口弹窗问题

--user=郭雨琦
--bug=1016020
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001016020
This commit is contained in:
guoyuqi 2022-08-19 13:55:03 +08:00 committed by xiaomeinvG
parent ccdf3e1b8c
commit b6818e4ad7
1 changed files with 3 additions and 0 deletions

View File

@ -984,6 +984,9 @@ export default {
if (this.basisData.moduleId && this.basisData.moduleId === 'default-module') {
this.basisData.moduleId = this.moduleOptions[0].id;
}
if (this.basisData.isCopy) {
this.basisData.caseTotal = 0;
}
this.httpForm = JSON.parse(JSON.stringify(this.basisData));
this.$get('/api/definition/follow/' + this.basisData.id, response => {