commit
4607fd6573
|
@ -254,12 +254,7 @@
|
||||||
this.settingDialog = true;
|
this.settingDialog = true;
|
||||||
},
|
},
|
||||||
onLayoutResize(){
|
onLayoutResize(){
|
||||||
const clientWidth = document.body.clientWidth;
|
this.$store.commit("SET_ismobile", document.body.clientWidth < 992)
|
||||||
if(clientWidth < 992){
|
|
||||||
this.$store.commit("SET_ismobile", true)
|
|
||||||
}else{
|
|
||||||
this.$store.commit("SET_ismobile", false)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//路由监听高亮
|
//路由监听高亮
|
||||||
showThis(){
|
showThis(){
|
||||||
|
|
Loading…
Reference in New Issue