refactor(接口测试): 解决接口弹窗问题
--user=郭雨琦 --bug=1016020 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001016020
This commit is contained in:
parent
ccdf3e1b8c
commit
b6818e4ad7
|
@ -984,6 +984,9 @@ export default {
|
||||||
if (this.basisData.moduleId && this.basisData.moduleId === 'default-module') {
|
if (this.basisData.moduleId && this.basisData.moduleId === 'default-module') {
|
||||||
this.basisData.moduleId = this.moduleOptions[0].id;
|
this.basisData.moduleId = this.moduleOptions[0].id;
|
||||||
}
|
}
|
||||||
|
if (this.basisData.isCopy) {
|
||||||
|
this.basisData.caseTotal = 0;
|
||||||
|
}
|
||||||
this.httpForm = JSON.parse(JSON.stringify(this.basisData));
|
this.httpForm = JSON.parse(JSON.stringify(this.basisData));
|
||||||
|
|
||||||
this.$get('/api/definition/follow/' + this.basisData.id, response => {
|
this.$get('/api/definition/follow/' + this.basisData.id, response => {
|
||||||
|
|
Loading…
Reference in New Issue