From c5558ae0a6152b56b2b487b94f3c616648104edd Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 30 Oct 2024 18:10:32 +0800
Subject: [PATCH] 页面登录,请求拦截,响应拦截,持久化存储,路由拦截等处理
---
src/router/index.js | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 0ff1b79..7b4a120 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2024-10-25 16:35:31
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-10-29 17:48:52
+ * @LastEditTime: 2024-10-30 15:01:50
* @FilePath: \bigScreen\src\router\index.js
* @Description:
*
@@ -16,6 +16,16 @@
redirect: '/layout',
},
{
+ path: '/login',
+ name: '登录页',
+ component: () => import('@/page/login.vue'),
+ meta: {
+ keepAlive: true,
+ isTab: false,
+ isAuth: false,
+ },
+ },
+ {
path: '/layout',
name: 'layout',
redirect: '/layout/survey',
--
Gitblit v1.9.3