Commit e1caac1a by wangyalan-git

修改

parent 599cc9ce
......@@ -240,9 +240,11 @@ export default {
};
},
mounted() {
if (!this.common.isMobile) {
this.$router.replace("/pindex");
}
if (this.common.isMobile()) {
this.deviceType = 1;
} else {
this.deviceType = 2;
}
this.screenWeight = document.documentElement.clientWidth;
this.screenHeight = document.documentElement.clientHeight;
this.main = document.getElementById("main");
......
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