refactor(接口测试): 修改接口自动化mqtt插件初始化
This commit is contained in:
parent
19f724381e
commit
900813f534
|
@ -199,6 +199,9 @@ export default {
|
||||||
data: {
|
data: {
|
||||||
handler: function () {
|
handler: function () {
|
||||||
Object.assign(this.request, this.data);
|
Object.assign(this.request, this.data);
|
||||||
|
if (this.request.condition) {
|
||||||
|
this.changeDisplay(this.request.condition);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
}
|
}
|
||||||
|
@ -348,9 +351,6 @@ export default {
|
||||||
if (this.request && this.request.active && this.pluginForm && this.pluginForm.setValue instanceof Function) {
|
if (this.request && this.request.active && this.pluginForm && this.pluginForm.setValue instanceof Function) {
|
||||||
this.pluginForm.setValue(this.request);
|
this.pluginForm.setValue(this.request);
|
||||||
}
|
}
|
||||||
if (this.request.condition) {
|
|
||||||
this.changeDisplay(this.request.condition);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue