1. 在制品行: 显示 external_serial(业务序列号) 优先 external_serial → 兜底 product_sn 旧: 装配 A1B2C3D4 张三 新: 装配 25022 张三 2. 留言板: 追溯码 → 身份证 旧: 追溯码: 000000000000000D 新: 身份证: 000000000000000D 3. 后端: WipTask 新增 external_serial 字段 关联查询 Product.external_serial
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.