From 596e3350bb92fbaa3aff9aa849d5f7c3eeaca343 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Sun, 18 Feb 2024 15:12:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B5=8C=E5=85=A5=E5=BC=8F):=20DIV?= =?UTF-8?q?=E5=B5=8C=E5=85=A5=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/pages/panel/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/pages/panel/main.ts b/core/core-frontend/src/pages/panel/main.ts index 157461a9fc..20ae94cf5d 100644 --- a/core/core-frontend/src/pages/panel/main.ts +++ b/core/core-frontend/src/pages/panel/main.ts @@ -79,8 +79,6 @@ const setupAll = async ( setupRouter(app) setupElementPlus(app) setupElementPlusIcons(app) - const userStore = useUserStoreWithOut() - await userStore.setUser() const embeddedStore = useEmbedded() embeddedStore.setType(type) embeddedStore.setBusiFlag(busiFlag) @@ -90,6 +88,8 @@ const setupAll = async ( embeddedStore.setPid(pid) embeddedStore.setChartId(chartId) embeddedStore.setResourceId(resourceId) + const userStore = useUserStoreWithOut() + await userStore.setUser() app.mount(dom) return app }