026ba10bb7
部署开发环境 / deploy-dev (push) Successful in 2m2s
- 移除 fetchInfo 函数中的加载状态管理 - 将 loading 状态管理移到 refresh 函数中 - 为 refresh 函数添加异步支持和加载状态显示 - 保留数据获取成功后的消息提示功能 - 简化了请求处理流程并改善用户体验
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