fix(接口测试): 支持插件联动处理

This commit is contained in:
fit2-zhao 2022-02-22 17:58:14 +08:00 committed by fit2-zhao
parent 7199744c28
commit e5f094222b
1 changed files with 9 additions and 1 deletions

View File

@ -25,6 +25,7 @@
:value.sync="data"
@prefix-change="change"
@prefix-click="change"
@display-change="changeDisplay"
@prefix-visible-change="visibleChange"
/>
</div>
@ -205,7 +206,14 @@ export default {
methods: {
blur(d) {
},
change(d) {
change(fileName) {
},
changeDisplay(fileName) {
if (fileName === 'number of received messages') {
this.pluginForm.hidden(true, "conditionTime");
} else {
this.pluginForm.hidden(false, "conditionTime");
}
},
run() {
if (this.isApiImport || this.request.isRefEnvironment) {