fix(接口测试): 修复场景全屏下插件报错的缺陷

This commit is contained in:
wxg0103 2022-02-21 16:38:11 +08:00 committed by xiaomeinvG
parent b58cbe0c60
commit dedaa8e2c7
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ export default {
} }
this.option.submitBtn = {show: false}; this.option.submitBtn = {show: false};
this.request.clazzName = plugin.clazzName; this.request.clazzName = plugin.clazzName;
if (this.request && this.request.active && this.pluginForm) { if (this.request && this.request.active && this.pluginForm && this.pluginForm.setValue instanceof Function) {
this.pluginForm.setValue(this.request); this.pluginForm.setValue(this.request);
} }
} else { } else {