From 0eb631e888cf533672eb9c7c06dc9051d3a26589 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 1 Jul 2024 09:38:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B5=8C=E5=85=A5=E5=BC=8F):=20=E8=AE=BF?= =?UTF-8?q?=E9=97=AEdiv=E5=B5=8C=E5=85=A5=E9=A1=B5=E9=9D=A2=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/pages/panel/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/pages/panel/main.ts b/core/core-frontend/src/pages/panel/main.ts index 8ae917fb6c..47b9271243 100644 --- a/core/core-frontend/src/pages/panel/main.ts +++ b/core/core-frontend/src/pages/panel/main.ts @@ -80,7 +80,6 @@ const setupAll = async ( resourceId: string ): Promise> => { const app = createApp(AppElement, { componentName: type }) - installDirective(app) await setupI18n(app) setupStore(app) setupRouter(app) @@ -96,6 +95,7 @@ const setupAll = async ( embeddedStore.setPid(pid) embeddedStore.setChartId(chartId) embeddedStore.setResourceId(resourceId) + installDirective(app) const res = await import('@/store/modules/user') const userStore = res.userStore() userStore.setUser()