Go to file
LingandRX d9f814ccfb feat(auth): 实现退出登录功能并优化登录状态验证
- 在 DefaultLayout 组件中添加退出登录按钮
- 实现 logout 函数,用于清除 token 并重定向到登录页
- 修改路由配置,增加 requiresAuth 元数据用于权限控制
- 优化 auth.js 中的 TokenKey 名称
- 移除 CustomCard、AboutView 和 TestApi 组件中的冗余样式
2025-01-01 17:33:57 +08:00
.vscode init vue 2024-09-16 15:39:01 +08:00
public init vue 2024-09-16 15:39:01 +08:00
src feat(auth): 实现退出登录功能并优化登录状态验证 2025-01-01 17:33:57 +08:00
.eslintrc.cjs init vue 2024-09-16 15:39:01 +08:00
.gitignore fix 2024-09-22 00:06:45 +08:00
.prettierrc fix 2024-09-22 00:06:45 +08:00
index.html init vue 2024-09-16 15:39:01 +08:00
jsconfig.json init vue 2024-09-16 15:39:01 +08:00
package.json feat(login): 实现登录功能并优化相关组件 2025-01-01 12:04:08 +08:00
README.md init vue 2024-09-16 15:39:01 +08:00
vite.config.js feat(login): 实现登录功能并优化相关组件 2025-01-01 12:04:08 +08:00

vue-project

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint