From 573707bd905b0b4df1a9ba0f0de554f7c079b41d Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期二, 27 八月 2024 10:50:28 +0800 Subject: [PATCH] fix: 修改自适应问题 --- src/router/guard/permission.ts | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/router/guard/permission.ts b/src/router/guard/permission.ts index ad3724e..c3e2efb 100644 --- a/src/router/guard/permission.ts +++ b/src/router/guard/permission.ts @@ -5,6 +5,7 @@ import { useUserStore, useAppStore } from '@/store'; import { appRoutes } from '../routes'; import { WHITE_LIST, NOT_FOUND } from '../constants'; +import { defineStore } from "pinia"; export default function setupPermissionGuard(router: Router) { router.beforeEach(async (to, from, next) => { -- Gitblit v1.8.0