From 5259e276abc705ac9e87e08a0918806b92aeed77 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Fri, 10 May 2024 13:52:53 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BC=81=E6=A0=87=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E4=BF=AE=E6=94=B9=E5=8D=95=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E7=AC=AC=E4=BA=8C=E6=AC=A1=E4=BC=9A=E6=96=B0?= =?UTF-8?q?=E7=94=9F=E6=88=90=E4=B8=80=E6=9D=A1=E6=95=B0=E6=8D=AE=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/MainDrafterInitBaseInfo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/workCenter/enterpriseStandardChange/modules/MainDrafterInitBaseInfo.vue b/src/views/workCenter/enterpriseStandardChange/modules/MainDrafterInitBaseInfo.vue index 5061361e..6776a847 100644 --- a/src/views/workCenter/enterpriseStandardChange/modules/MainDrafterInitBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardChange/modules/MainDrafterInitBaseInfo.vue @@ -589,7 +589,7 @@ export default { if (uid || uid === 0) { // 有下标,说明是编辑 const dataIndex = this.dataSource.findIndex(item => item.uid === uid) - this.dataSource.splice(dataIndex, 1, value) + this.dataSource.splice(dataIndex, 1, { ...value, uid: uid }) } else { // 没有下标, 是新增 const uidGenerator = () => {