|
@@ -37,6 +37,7 @@ export default (props) => {
|
37
|
37
|
// });
|
38
|
38
|
// console.log('menus', menus);
|
39
|
39
|
// console.log(user);
|
|
40
|
+ console.log(theme)
|
40
|
41
|
return (
|
41
|
42
|
<Spin spinning={!user} size="large">
|
42
|
43
|
<HtmlTitle />
|
|
@@ -44,8 +45,8 @@ export default (props) => {
|
44
|
45
|
<RequireLogin>
|
45
|
46
|
<Layout className={theme} style={{ height: '100vh' }}>
|
46
|
47
|
<Header theme={theme} user={user} />
|
47
|
|
- <Layout style={{ height: 'calc(100vh - var(--header-height))' }}>
|
48
|
|
- <SiderBar menus={menus} location={location} />
|
|
48
|
+ <Layout style={{ height: 'calc(100vh - var(--header-height))' }}>
|
|
49
|
+ <SiderBar theme="light" menus={menus} location={location} />
|
49
|
50
|
<Container location={location} />
|
50
|
51
|
</Layout>
|
51
|
52
|
</Layout>
|