From 26fa5d48e50a767b00526f9f30319796581e714b Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Mon, 26 Dec 2022 16:49:13 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=20=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在工作台模块刷新页面,控制台抛出异常 --- framework/sdk-parent/frontend/src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/sdk-parent/frontend/src/router/index.js b/framework/sdk-parent/frontend/src/router/index.js index b6bca8b4b2..538834e66b 100644 --- a/framework/sdk-parent/frontend/src/router/index.js +++ b/framework/sdk-parent/frontend/src/router/index.js @@ -61,8 +61,8 @@ const router = createRouter() // 刷新整个页面会到这里 import('@/store').then(async ({useUserStore}) => { - const userStore = useUserStore(); try { + const userStore = useUserStore(); await userStore.getIsLogin(); } catch (e) { // nothing