fix(项目设置): 模板管理设置或添加自定义字段时无法勾选默认值的问题

--bug=1016433 --user=宋昌昌 【项目设置】模板管理, 用例模板, 缺陷模板添加或设置自定义字段时无法勾选默认值 https://www.tapd.cn/55049933/s/1235340
This commit is contained in:
song-cc-rock 2022-08-29 17:36:54 +08:00 committed by f2c-ci-robot[bot]
parent f39cc66497
commit 377ead64b5
1 changed files with 1 additions and 3 deletions

View File

@ -170,9 +170,7 @@ 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.$forceUpdate();
this.$set(this.form, this.data.name, this.data[this.prop]);
}
}, },
} }
}; };