解决构建错误

This commit is contained in:
fanbook-wangdage
2025-12-21 20:13:58 +08:00
parent 5f48917d3f
commit 29b8e6e8bf
2 changed files with 10 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
import router from './index'
import { useUserStore } from '@/stores/user'
router.beforeEach(async (to, from, next) => {
router.beforeEach(async (to, _ , next) => {
const userStore = useUserStore()
// 未登录