From 1d0fcd30070142a009759cf2e392cef65bb71c25 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 5 Sep 2025 11:37:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E9=80=8F=E8=A7=86?= =?UTF-8?q?=E8=A1=A8=E8=87=AA=E5=AE=9A=E4=B9=89=E6=B1=87=E6=80=BB=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E6=90=9C=E7=B4=A2=E6=B7=BB=E5=8A=A0=E7=9A=84=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E4=BC=9A=E6=8A=A5=E9=94=99=20undefined?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../editor/editor-style/components/table/CustomAggrEdit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/table/CustomAggrEdit.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/table/CustomAggrEdit.vue index a5ae29cb86..2bf10ad785 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/table/CustomAggrEdit.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/table/CustomAggrEdit.vue @@ -77,7 +77,7 @@ const setFieldForm = () => { const setNameIdTrans = (from, to, originName, name2Auto?: string[]) => { let name2Id = originName - const nameIdMap = state.quotaData.reduce((pre, next) => { + const nameIdMap = [...quotaDataList].reduce((pre, next) => { pre[next[from]] = next[to] return pre }, {})