fix(接口测试): 修复条件控制器的值不能修改的bug

This commit is contained in:
q4speed 2020-09-23 16:48:19 +08:00
parent c0fe259276
commit d7a9d7df1a
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ export default {
this.visible = false;
},
change(value) {
if (value.indexOf("null") > 0) {
if (value.indexOf("null") > 0 && !!this.controller.value) {
this.controller.value = "";
}
}