From 76b704127c0664810b52d512fc5550654d3b8b49 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Thu, 17 Oct 2024 15:06:11 +0800
Subject: [PATCH] =?UTF-8?q?style(=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=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E5=A4=96=E9=83=A8=E5=8F=82=E6=95=B0=E5=BF=85=E5=A1=AB=E5=8F=82?=
=?UTF-8?q?=E6=95=B0=E6=A0=A1=E9=AA=8C=E7=A9=BA=E5=80=BC=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=E7=AD=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/common/DeEmpty.vue | 27 +++++++++++++++++++
.../data-visualization/canvas/DePreview.vue | 2 ++
.../src/pages/panel/DashboardPreview.vue | 2 ++
.../src/pages/panel/ViewWrapper.vue | 2 ++
.../modules/data-visualization/dvMain.ts | 6 ++---
.../data-visualization/PreviewCanvas.vue | 2 ++
.../PreviewCanvasMobile.vue | 2 ++
7 files changed, 40 insertions(+), 3 deletions(-)
create mode 100644 core/core-frontend/src/components/common/DeEmpty.vue
diff --git a/core/core-frontend/src/components/common/DeEmpty.vue b/core/core-frontend/src/components/common/DeEmpty.vue
new file mode 100644
index 0000000000..88999adb33
--- /dev/null
+++ b/core/core-frontend/src/components/common/DeEmpty.vue
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
diff --git a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue
index a0e0ecd2a5..3212b5fcd3 100644
--- a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue
+++ b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue
@@ -18,6 +18,7 @@ import CanvasFilterBtn from '@/custom-component/canvas-filter-btn/Component.vue'
import { useEmitt } from '@/hooks/web/useEmitt'
import DatasetParamsComponent from '@/components/visualization/DatasetParamsComponent.vue'
import DeFullscreen from '@/components/visualization/common/DeFullscreen.vue'
+import EmptyBackground from '../../empty-background/src/EmptyBackground.vue'
const dvMainStore = dvMainStoreWithOut()
const { pcMatrixCount, curComponent, mobileInPc, canvasState } = storeToRefs(dvMainStore)
const openHandler = ref(null)
@@ -450,6 +451,7 @@ defineExpose({
+
diff --git a/core/core-frontend/src/pages/panel/DashboardPreview.vue b/core/core-frontend/src/pages/panel/DashboardPreview.vue
index 8411f11390..23030fe6a0 100644
--- a/core/core-frontend/src/pages/panel/DashboardPreview.vue
+++ b/core/core-frontend/src/pages/panel/DashboardPreview.vue
@@ -14,6 +14,7 @@ import { useI18n } from '@/hooks/web/useI18n'
import request from '@/config/axios'
import 'vant/es/nav-bar/style'
import 'vant/es/sticky/style'
+import EmptyBackground from '../../components/empty-background/src/EmptyBackground.vue'
const { wsCache } = useCache()
const interactiveStore = interactiveStoreWithOut()
const embeddedStore = useEmbedded()
@@ -128,6 +129,7 @@ onBeforeMount(async () => {
show-position="preview"
>
+