1. 任务进度条: 3段→4段 (PENDING|WIP|COMPLETED|REJECTED) 解决总数11但进度条只覆盖9的视觉缺口 驳回以红色段显示, 拼图完整 2. 在制品行: 产品SN从第二行移到任务名旁边 旧: 装配 张三 → 新: 装配 A1B2C3D4 张三 一行看清: 做什么工序+哪台设备+谁在做
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the Oxlint configuration
If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json:
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["react", "typescript", "oxc"],
"options": {
"typeAware": true
},
"rules": {
"react/rules-of-hooks": "error",
"react/only-export-components": ["warn", { "allowConstantExport": true }]
}
}
See the Oxlint rules documentation for the full list of rules and categories.