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