IRIS 与 LICA 是两套独立部署,界面本身看不出当前连的是哪一套,排查和培训时容易认错环境。在管理端布局底部固定一条标识。 fixed + left-56 让它横跨主内容区、滚动时始终可见;内容区补 pb-14,避免页面滚到底时最后一行内容被这条 footer 压住。只加在 AdminLayout 里 —— /admin/screen 全屏大屏与登录页是独立路由,不走这个布局,不受影响。
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.