fix(接口测试): 修复切换jsonSchema类型值不生效的缺陷
This commit is contained in:
parent
247df1b792
commit
39aed27e92
|
@ -57,6 +57,14 @@ export default {
|
||||||
mock: { mock: '' },
|
mock: { mock: '' },
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
schema: {
|
||||||
|
handler() {
|
||||||
|
this.schema.mock = this.mock;
|
||||||
|
},
|
||||||
|
deep: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
if (
|
if (
|
||||||
this.schema.mock &&
|
this.schema.mock &&
|
||||||
|
|
Loading…
Reference in New Issue