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