From 018aaab4b30943516f86ef5092d05f2b427147d0 Mon Sep 17 00:00:00 2001
From: xieb <vip_xiaobin810@163.com>
Date: Thu, 21 Nov 2024 20:26:20 +0800
Subject: [PATCH] 遥控器上云
---
src/permission.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/permission.ts b/src/permission.ts
index ef49837..f67b174 100644
--- a/src/permission.ts
+++ b/src/permission.ts
@@ -1,7 +1,7 @@
import { ELocalStorageKey, ERouterName } from './types/enums'
import router from '/@/router/index'
-const whiteList = ['/' + ERouterName.LOGIN] // 设置白名单
+const whiteList = ['/' + ERouterName.LOGIN, '/' + ERouterName.PILOT] // 设置白名单
router.beforeEach(async (to, from, next) => {
// 确定用户是否已登录过,存在Token
--
Gitblit v1.9.3