201ee8c0f9
部署开发环境 / deploy-dev (push) Successful in 2m1s
- 将原有的axios直接调用替换为统一的api模块封装 - 新增api.ts文件集中管理所有API接口方法 - 删除旧的axios.ts配置文件 - 统一API响应数据结构处理,将result改为data字段 - 优化HomeView中的Token相关状态管理和数据获取逻辑 - 重构TokenDetailView中信息获取和删除操作的API调用 - 更新TokenManageView中Token列表管理的CRUD操作实现 - 简化组件间的数据传递和状态同步机制
web
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VS Code + Vue (Official) ( and disable Vetur).
Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
Type Support for .vue Imports in TS
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for
type checking. In editors, we need Volar to make the
TypeScript language service aware of .vue types.
Customize configuration
See Vite Configuration Reference.
Project Setup
pnpm install
Compile and Hot-Reload for Development
pnpm dev
Type-Check, Compile and Minify for Production
pnpm build