diff --git a/src/pages/layout/proHeader/index.jsx b/src/pages/layout/proHeader/index.jsx
index 6d9df5e2..624461dc 100644
--- a/src/pages/layout/proHeader/index.jsx
+++ b/src/pages/layout/proHeader/index.jsx
@@ -34,7 +34,7 @@ const ProHeader = () => {
icon: ,
onClick: () => {
redirectTo('/profile')
- },
+ }
},
{
key: '2',
@@ -42,7 +42,7 @@ const ProHeader = () => {
icon: ,
onClick: () => {
redirectTo('/setting')
- },
+ }
},
{
key: '3',
@@ -51,8 +51,8 @@ const ProHeader = () => {
onClick: () => {
removeLocalStorage('token')
redirectTo('/signin')
- },
- },
+ }
+ }
]
const { myTheme, setMyTheme } = useProThemeContext()
@@ -62,7 +62,7 @@ const ProHeader = () => {
}
const {
- token: { colorBgContainer, colorBorder },
+ token: { colorBgContainer, colorBorder }
} = theme.useToken()
return (
@@ -70,7 +70,7 @@ const ProHeader = () => {
className={styles.header}
style={{ background: colorBgContainer, borderBottom: `1px solid ${colorBorder}` }}
>
-
redirectTo('/')}>
+
redirectTo('/')}>
{/* Pro React {process.env.DEPLOYED_ENV} */}
Pro React Admin
@@ -79,7 +79,7 @@ const ProHeader = () => {
-
+
}
// unCheckedChildren={}
@@ -93,7 +93,7 @@ const ProHeader = () => {
diff --git a/src/pages/layout/proSecNav/index.jsx b/src/pages/layout/proSecNav/index.jsx
index 466bdef9..5e218efb 100644
--- a/src/pages/layout/proSecNav/index.jsx
+++ b/src/pages/layout/proSecNav/index.jsx
@@ -10,7 +10,7 @@ import {
QuestionCircleOutlined,
FireOutlined,
GlobalOutlined,
- QrcodeOutlined,
+ QrcodeOutlined
} from '@ant-design/icons'
import styles from './index.module.less'
@@ -19,7 +19,7 @@ const pathSubmenu = {
'/home': ['home'],
'/coupons/add': ['/sub-act', '/sub-coupons'],
'/coupons/edit': ['/sub-act', '/sub-coupons'],
- '/product': ['/sub-act', '/sub-coupons'],
+ '/product': ['/sub-act', '/sub-coupons']
}
const ProSecNav = () => {
@@ -88,11 +88,11 @@ const ProSecNav = () => {
icon: ,
children: [
{ label: 'Vue', key: '/coupons/add' },
- { label: 'Angular', key: '/coupons/edit' },
- ],
+ { label: 'Angular', key: '/coupons/edit' }
+ ]
},
- { label: '后端技术栈', key: '/product', icon: },
- ],
+ { label: '后端技术栈', key: '/product', icon: }
+ ]
},
{
label: '构建工具',
@@ -100,26 +100,26 @@ const ProSecNav = () => {
icon: ,
children: [
{ label: 'Webpack', key: '/coupons/list' },
- { label: 'Vite', key: '/order/list' },
- ],
+ { label: 'Vite', key: '/order/list' }
+ ]
},
{
label: 'Error',
key: '/sub-error',
icon: ,
- children: [{ label: 'ErrorBoundary', key: '/error' }],
- },
+ children: [{ label: 'ErrorBoundary', key: '/error' }]
+ }
]
return (
<>