mirror of
https://github.com/eyebluecn/tank-front
synced 2024-04-21 12:31:55 +00:00
mobile initial hide menu.
This commit is contained in:
@@ -18,7 +18,7 @@ export default class Sun {
|
|||||||
reactRouter: any = null;
|
reactRouter: any = null;
|
||||||
|
|
||||||
//全局布局样式,是否展示出左边的菜单.
|
//全局布局样式,是否展示出左边的菜单.
|
||||||
showDrawer: boolean = true;
|
showDrawer: boolean = false;
|
||||||
|
|
||||||
//全局mobile标识
|
//全局mobile标识
|
||||||
isMobile: boolean = /Mobile|iP(hone|od|ad)|iOS|Android|BlackBerry/i.test(window.navigator.userAgent);
|
isMobile: boolean = /Mobile|iP(hone|od|ad)|iOS|Android|BlackBerry/i.test(window.navigator.userAgent);
|
||||||
|
|||||||
Reference in New Issue
Block a user