From 2d721765d2411798dd9f77c818157d789c59311c Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 4 Dec 2024 15:14:30 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E6=9D=BF=E3=80=81?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20=E4=BB=8E=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E4=BB=AA=E8=A1=A8=E6=9D=BF=E5=A4=A7=E5=B1=8F=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE=E9=9B=86=E6=97=B6?= =?UTF-8?q?=E5=A6=82=E6=9E=9C=E6=9C=AA=E4=BF=9D=E5=AD=98=E7=BB=99=E5=87=BA?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core-frontend/src/views/chart/components/editor/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index 783fcadac5..dc7e59d09e 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -1435,6 +1435,10 @@ const initOpenHandler = newWindow => { } } const addDsWindow = () => { + if (!dvInfo.value.id) { + ElMessage.warning(t('visualization.save_page_tips')) + return + } const path = embeddedStore.getToken && appStore.getIsIframe ? 'dataset-embedded-form' : '/dataset-form' let routeData = router.resolve(path)