From 20a5b9fd07c84b94fbdca887fd3506f273e3a989 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 11 Oct 2024 16:58:26 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E3=80=81=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E7=BB=84=E6=98=BE=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../picture-group/PictureGroupDatasetSelect.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/custom-component/picture-group/PictureGroupDatasetSelect.vue b/core/core-frontend/src/custom-component/picture-group/PictureGroupDatasetSelect.vue index 415041b4a4..41a0103db6 100644 --- a/core/core-frontend/src/custom-component/picture-group/PictureGroupDatasetSelect.vue +++ b/core/core-frontend/src/custom-component/picture-group/PictureGroupDatasetSelect.vue @@ -29,7 +29,8 @@ const onDatasetUpdate = () => { getFieldByDQ(view.value.tableId, view.value.id, { type: 'table-info' }) .then(res => { view.value.xAxis = [] - view.value.xAxis.push(...res.dimensionList, ...res.quotaList.pop()) + res.quotaList.pop() + view.value.xAxis.push(...res.dimensionList, ...res.quotaList) const viewTarget = view.value useEmitt().emitter.emit('calcData-' + viewTarget.id, viewTarget) snapshotStore.recordSnapshotCache('calc', view.value.id)