Commit f3c7d82f authored by 毛线's avatar 毛线

test

parent a1f7dec5
......@@ -59,12 +59,13 @@ export default {
'SetInnerHeight',
]),
initSceen() {
const { innerWidth, } = window
const { innerWidth, innerHeight } = window
const isMobile = deviceType(navigator.userAgent)
if (process.env.NODE_ENV === 'development') {
// return
}
if (innerWidth < 750 || isMobile) {
if (innerWidth < 750 || (isMobile && innerWidth < 750)) {
this.initMobileSceen()
this.isMoblie = true
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment