fix(项目设置): 创建缺陷模板时无法设置系统字段默认值问题

--bug=1018308 --user=宋昌昌 【项目设置】缺陷模版-创建新模版时不能设置系统字段的默认值 https://www.tapd.cn/55049933/s/1266002

Co-authored-by: song-cc-rock <changchang.song@fit2cloud.com>
This commit is contained in:
MeterSphere Bot 2022-10-19 10:19:59 +08:00 committed by GitHub
parent 2d995a42cf
commit fe0bb4bbe0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -176,9 +176,7 @@ 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();
},
}
};