反馈是「不要一行一个,只留中文名,做成方块,全展示不滚动」。 · 标签云 → 方块网格(grid + auto-fill,minmax(92px,1fr)): 窗口越宽一行放得越多,每个成员一格,整齐且密度高 · 去掉账号,格子里只留中文名(账号移到 title 提示里,需要时悬停可看) · 不设 max-height、不加 overflow —— 自然换行铺满,没有滚动条 · 组长:金色底 + 皇冠图标;移除按钮改成悬停才出现(避免误点) · 无权限时方块不可点、也不出现移除按钮,纯展示 已通过 tsc 检查。
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.