Files
flaskProject/flask-ui
YanLongChangAn bd71459c31 fix(home): 修复按钮处理函数返回类型和空值检查
- 更新 BtnItem 接口中的 handle 函数返回类型定义
- 添加对 btnObj.handle 的空值检查避免执行未定义方法
- 修复响应消息数组处理逻辑确保类型安全
2026-05-09 11:50:49 +08:00
..

flask-ui

This template should help get you started developing with Vue 3 in Vite.

VS Code + Vue (Official) (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

Lint with ESLint

npm run lint