fix(接口自动化): 修复接口自动化参数设置保存后表单数据绑定失败问题

This commit is contained in:
junhong 2022-01-13 13:53:13 +08:00 committed by 刘瑞斌
parent 047c4273e2
commit d544daeee4
1 changed files with 2 additions and 2 deletions

View File

@ -538,9 +538,9 @@
if(this.itemValue != null && this.itemValue != undefined
&& this.itemValue.indexOf('@') == -1
&& this.itemValue.indexOf('$') == -1){
this.currentItem.value = '@' + this.itemValue;
this.$set(this.currentItem, 'value', '@' + this.itemValue);
} else {
this.currentItem.value = this.itemValue;
this.$set(this.currentItem, 'value', this.itemValue);
}
this.itemValueVisible = false;
this.mockVariableFuncs = [];