73d0572dfc3bf342a8a24272ca459dc135b5ba5c
- 新增 currentPage/totalTasks/pageSize 响应式状态 - fetchTasks 支持 page 参数,请求指定页码 - 新增 handlePageChange 切换页码时重置选中状态 - 模板侧边栏底部添加 el-pagination 分页组件 - 分页组件仅当总数超过单页容量时显示
LPT-FE
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
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
npm install
Compile and Hot-Reload for Development
npm run dev
Type-Check, Compile and Minify for Production
npm run build
Description
Languages
Vue
61.8%
TypeScript
37.1%
CSS
0.7%
Dockerfile
0.2%
HTML
0.2%