mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
feat(web): 新增系统管理功能并优化界面样式
- 更新路由配置,调整页面结构 - 优化主题样式,自定义 ant-design 样式 - 新增全局样式,包括滚动条、按钮、模态框等
This commit is contained in:
@@ -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, // 强制使用分号
|
||||
|
||||
Reference in New Issue
Block a user