fix: 修复系统模块TypeScript类型错误和组件功能问题

- 修复消息组件JSX.Element类型错误,改为React.ReactNode
- 完善审核历史页面类型定义和API接口调用
- 优化验证码组件,移除备用验证码逻辑避免无限循环
- 简化系统设置页面,仅保留基本设置和外观设置
- 修复用户管理页面编辑模态框数据加载和CRUD操作
- 移除废弃的作物推荐组件文件

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-12 17:28:11 +08:00
parent dcd7ddeb71
commit dfc29ce01f
21 changed files with 379 additions and 769 deletions

View File

@@ -42,6 +42,7 @@
"axios": "^1.13.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"dotenv": "^17.2.3",
"lucide-react": "^0.553.0",
"next": "16.0.1",
@@ -49,7 +50,9 @@
"npx": "^10.2.2",
"openapi-fetch": "^0.15.0",
"react": "19.2.0",
"react-day-picker": "^9.11.1",
"react-dom": "19.2.0",
"react-hook-form": "^7.66.0",
"recharts": "^3.4.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
@@ -63,6 +66,7 @@
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "16.0.1",
"eslint-plugin-unused-imports": "^4.3.0",
"tailwindcss": "^4",
"tw-animate-css": "^1.4.0",
"typescript": "^5"