feat(web): 新增系统管理功能并优化界面样式

- 更新路由配置,调整页面结构
- 优化主题样式,自定义 ant-design 样式
- 新增全局样式,包括滚动条、按钮、模态框等
This commit is contained in:
zhoumengru
2025-09-01 16:55:44 +08:00
parent 4af4e670d2
commit 2ad56d3203
22 changed files with 1677 additions and 73 deletions

View File

@@ -15,6 +15,7 @@ module.exports = {
},
plugins: ['react', '@typescript-eslint', 'prettier'], // 添加 prettier 插件
rules: {
'vue/require-explicit-emits': 'off', // 关闭 emits 声明检查
'vue/v-on-event-hyphenation': 'off',
'prettier/prettier': 'off',
'react/react-in-jsx-scope': 'off', // React 17+ 可关闭 JSX 运行时检查
@@ -24,8 +25,8 @@ module.exports = {
eqeqeq: 0, // 警告使用全等
quotes: [0, 'single'], // 单引号
singleQuote: 0,
'no-console': 2, // 不禁用console
'no-debugger': 2, // 警告debugger
'no-console': 0, // 不禁用console
'no-debugger': 0, // 警告debugger
'no-var': 2, // 对var禁止
'no-eval': 0,
semi: 0, // 强制使用分号