- 重构登录逻辑,连接后端登录接口 - 添加成功和失败的提示消息 - 优化表单字段,将账号字段改为用户名 - 更新 fetch 请求的 URL 和处理逻辑 - 调整 fetchInterceptor 中的授权头 - 更新 vite 配置,代理到新的后端地址 |
||
|---|---|---|
| .vscode | ||
| public | ||
| src | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierrc | ||
| index.html | ||
| jsconfig.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
vue-project
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
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