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