fix(接口测试): 接口定义中监控数据变化
This commit is contained in:
parent
6e78067cff
commit
e97de5d7b9
|
@ -73,17 +73,18 @@ export default {
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
},
|
},
|
||||||
},
|
response: {
|
||||||
response: {
|
handler(newObj, oldObj) {
|
||||||
handler(newObj, oldObj) {
|
this.responseCount++;
|
||||||
this.responseCount++;
|
if (this.responseCount > 1) {
|
||||||
if (this.responseCount > 1) {
|
this.$store.state.apiStatus.set("responseChange", true);
|
||||||
this.$store.state.apiStatus.set("responseChange", true);
|
this.$store.state.apiMap.set(this.currentApi.id, this.$store.state.apiStatus);
|
||||||
this.$store.state.apiMap.set(this.currentApi.id, this.$store.state.apiStatus);
|
}
|
||||||
}
|
},
|
||||||
|
deep: true
|
||||||
},
|
},
|
||||||
deep: true
|
|
||||||
},
|
},
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.getMaintainerOptions();
|
this.getMaintainerOptions();
|
||||||
switch (this.currentProtocol) {
|
switch (this.currentProtocol) {
|
||||||
|
|
Loading…
Reference in New Issue