From fe0bb4bbe0295b0f33e37f3883075a4ddaf97f17 Mon Sep 17 00:00:00 2001 From: MeterSphere Bot <78466014+metersphere-bot@users.noreply.github.com> Date: Wed, 19 Oct 2022 10:19:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=BC=BA=E9=99=B7=E6=A8=A1=E6=9D=BF=E6=97=B6?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=AE=BE=E7=BD=AE=E7=B3=BB=E7=BB=9F=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E9=BB=98=E8=AE=A4=E5=80=BC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018308 --user=宋昌昌 【项目设置】缺陷模版-创建新模版时不能设置系统字段的默认值 https://www.tapd.cn/55049933/s/1266002 Co-authored-by: song-cc-rock --- .../src/business/menu/template/CustomFiledComponent.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/project-management/frontend/src/business/menu/template/CustomFiledComponent.vue b/project-management/frontend/src/business/menu/template/CustomFiledComponent.vue index e834c2ed38..ba61faf475 100644 --- a/project-management/frontend/src/business/menu/template/CustomFiledComponent.vue +++ b/project-management/frontend/src/business/menu/template/CustomFiledComponent.vue @@ -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(); }, } };