From 5f59d2cfdc260e6ea2f84def73178bc7c2d29c84 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Wed, 27 Mar 2024 12:00:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1037271 --user=王旭 【系统设置】组织-模板-新增字段-新增整数类型数字字段失败 https://www.tapd.cn/55049933/s/1481659 --- .../organization/template/components/editFieldDrawer.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/setting/organization/template/components/editFieldDrawer.vue b/frontend/src/views/setting/organization/template/components/editFieldDrawer.vue index 23c75e6bd7..2963501129 100644 --- a/frontend/src/views/setting/organization/template/components/editFieldDrawer.vue +++ b/frontend/src/views/setting/organization/template/components/editFieldDrawer.vue @@ -97,7 +97,7 @@ @@ -200,7 +200,7 @@ const fieldForm = ref({ ...initFieldForm }); const isEdit = ref(false); const selectFormat = ref(); // 选择格式 - const selectNumber = ref(); // 数字格式 + const selectNumber = ref('INT'); // 数字格式 const isMultipleSelectMember = ref(false); // 成员多选 const fieldType = ref(); // 整体字段类型 @@ -289,7 +289,7 @@ } // 如果选择是数值 - if (selectNumber.value) { + if (formCopy.type === 'NUMBER') { formCopy.type = selectNumber.value; }