mobile initial hide menu.

This commit is contained in:
Simba
2020-11-26 23:24:43 +08:00
parent ef85fda048
commit f698bdd6b0
+1 -1
View File
@@ -18,7 +18,7 @@ export default class Sun {
reactRouter: any = null;
//全局布局样式,是否展示出左边的菜单.
showDrawer: boolean = true;
showDrawer: boolean = false;
//全局mobile标识
isMobile: boolean = /Mobile|iP(hone|od|ad)|iOS|Android|BlackBerry/i.test(window.navigator.userAgent);