Add V2 admin console

This commit is contained in:
2026-07-06 18:13:08 +08:00
parent 301661e7b4
commit 62eeb3186c
34 changed files with 3132 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
# AI 知识库系统 V2 管理后台
这是 V2 的管理后台,使用 Vue 3、Vite、TypeScript 和 Element Plus。
## 本地启动
```bash
npm install
npm run dev -- --port 5174
```
默认访问地址:
```text
http://127.0.0.1:5174/
```
默认后端地址:
```text
http://127.0.0.1:8100/api
```
## 默认管理员
开发阶段后端会在首次管理员登录时自动创建默认管理员:
```text
账号admin
密码admin123456
```
生产环境必须通过环境变量修改默认密码。