Commit 51db2590 authored by 毛线's avatar 毛线

test

parent cdb7e06d
......@@ -88,7 +88,7 @@ export default {
if (process.env.NODE_ENV === 'development') {
// return
}
if ((innerWidth < 1000 && innerWidth < innerHeight) || (isMobile && innerWidth < innerHeight)) {
if ((innerWidth < 800 && innerWidth < innerHeight) || (isMobile && innerWidth < innerHeight)) {
this.initMobileSceen()
this.isMoblie = true
} else {
......
......@@ -63,7 +63,8 @@ export const getters = {
is_mobile(state) {
let is_mobile = false
const { innerWidth, innerHeight, } = state
const minWidth = 1000
const minWidth = 800
if (innerWidth < minWidth || innerHeight < minWidth) {
is_mobile = true
}
......
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