fix(测试跟踪): 自定义字段必填校验出错
This commit is contained in:
parent
c88bfd707d
commit
a400c6e239
|
@ -170,6 +170,9 @@ export default {
|
||||||
return item.system ? this.$t(item.text) : item.text;
|
return item.system ? this.$t(item.text) : item.text;
|
||||||
},
|
},
|
||||||
handleChange() {
|
handleChange() {
|
||||||
|
if (this.form) {
|
||||||
|
this.$set(this.form, this.data.name, this.data[this.prop]);
|
||||||
|
}
|
||||||
this.$forceUpdate();
|
this.$forceUpdate();
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue