fix(测试跟踪): 自定义字段必填校验出错

This commit is contained in:
chenjianxing 2022-08-30 14:19:30 +08:00 committed by jianxing
parent c88bfd707d
commit a400c6e239
1 changed files with 3 additions and 0 deletions

View File

@ -170,6 +170,9 @@ export default {
return item.system ? this.$t(item.text) : item.text;
},
handleChange() {
if (this.form) {
this.$set(this.form, this.data.name, this.data[this.prop]);
}
this.$forceUpdate();
},
}