bastion_sso/README.md

35 lines
552 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Bastion SSO Frontend
基于 `Vite + Vue3 + TypeScript + Element Plus` 的统一 SSO 登录系统前端。
## 开发
```bash
npm install
npm run dev
```
## 构建
```bash
npm run build
npm run preview
```
## 页面模块
- 登录
- 仪表盘
- 用户管理
- 角色管理
- 权限管理
- 服务器资源管理
- 堡垒机账号管理
- 访问日志查询
## 说明
- 使用 JWT Bearer Tokencookie进行鉴权。
- 通过 `/auth/me` 获取用户权限并控制菜单和按钮显隐。
- 统一处理 `401/403/422` 常见错误场景。