refactor(shared): 提取公共状态逻辑并修复用户列表分页

统一存储解析、通知已读状态、表格偏好和企业日志筛选参数。修复切换每页条数时沿用旧页码、丢失筛选条件和重复触发分页回调的问题。
同步调整项目检查脚本、格式配置和开发文档。
This commit is contained in:
zhanjunhao
2026-10-21 18:47:21 +08:00
parent ae190663f0
commit 67d08b69c2
30 changed files with 1484 additions and 466 deletions
+1 -4
View File
@@ -55,6 +55,7 @@
"test": "node --test",
"lint": "prettier . --check",
"lint:fix": "prettier . --write",
"check": "npm run eslint && npm test && npm run build",
"eslint": "eslint \"**/*.{js,jsx}\" --cache",
"eslint:fix": "eslint \"**/*.{js,jsx}\" --fix --cache",
"preview": "vite preview",
@@ -91,10 +92,6 @@
"tailwindcss": "^3",
"vite": "5.1.0"
},
"prettier": {
"singleQuote": true,
"jsxSingleQuote": true
},
"proxy": "http://localhost:3000",
"engines": {
"node": ">=22.13.0",