fix(测试跟踪): 自定义字段必填校验出错
This commit is contained in:
parent
fdf6cb3ab8
commit
2c99365a80
|
@ -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