提交 ec2acb20 authored 作者: huaxinzhu's avatar huaxinzhu

冗余代码删除

上级 05934abe
......@@ -415,9 +415,6 @@
// htmlNode.style.fontSize = 32 + 'px'
// }
htmlNode.style.fontSize = w / 750 * 50 * 2 + 'px'
console.log("根html字体大小:", w, htmlNode.style.fontSize);
} else {
console.log("说明当前屏幕宽度大于960", w);
}
})();
......@@ -438,6 +435,7 @@
]
}
},
watch: {},
data() {
let _this = this;
return {
......@@ -634,13 +632,11 @@
let isPc = this.IsPc()
/** 动态获取 sso配置域名 */
this.getssourl();
// console.log(111,isPc);
// console.log(222,navigator.userAgent);
},
mounted() {
this.getIndexInfo()
window.addEventListener('scroll', this.handleScroll, true);
// console.log(333,window.devicePixelRatio);
},
destroyed() {
window.removeEventListener('scroll', this.handleScroll);
......@@ -663,7 +659,6 @@
IsPc() {
let userAgent = navigator.userAgent
let Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
console.log('userAgent:', userAgent)
return Agents.some((i) => {
return userAgent.includes(i)
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论