|
@@ -229,7 +229,7 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) =
|
|
|
window.open(`https://mp.zanxiangnet.com/#/user/login?token=${localStorage.getItem('Admin-Token')}`, '_blank')
|
|
|
history.back() // 返回上一页
|
|
|
return
|
|
|
- } else if (location?.pathname === '/corpChat') {
|
|
|
+ } else if (location?.pathname === '/corpChat') {
|
|
|
window.open(`https://corp.zanxiangnet.com/#/login?token=${localStorage.getItem('Admin-Token')}`, '_blank')
|
|
|
history.back() // 返回上一页
|
|
|
return
|
|
@@ -292,18 +292,13 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) =
|
|
|
if (initialState?.loading) return <PageLoading />;
|
|
|
return (<ConfigProvider
|
|
|
componentSize='middle'
|
|
|
- theme={{
|
|
|
- token: {
|
|
|
- },
|
|
|
+ theme={initialState?.settings?.navTheme === 'realDark' ? undefined : {
|
|
|
components: {
|
|
|
- Input: {
|
|
|
-
|
|
|
- },
|
|
|
Table: {
|
|
|
colorBorderSecondary: '#e0e0e0',
|
|
|
+ headerBg: '#F5F5F5'
|
|
|
}
|
|
|
- },
|
|
|
- // algorithm: [compactAlgorithm]
|
|
|
+ }
|
|
|
}}
|
|
|
>
|
|
|
<Watermark
|