禁用zoom检查,算法不对,有些显示器(小米笔记本)默认为125

dev_aliyun_beta
hjm 5 years ago
parent f05d3ee1b2
commit 76c9020b76

@ -55,12 +55,12 @@ class Index extends Component {
window.$('#root').css('position', 'absolute')
// TPI浏览器缩放
setTimeout(() => {
const agent = navigator.userAgent;
if (agent.indexOf('Mac OS') == -1) {
window._initZoomCheck()
}
}, 800)
// setTimeout(() => {
// const agent = navigator.userAgent;
// if (agent.indexOf('Mac OS') == -1) {
// window._initZoomCheck()
// }
// }, 800)
this.onDrawerButtonClick = this.onDrawerButtonClick.bind(this)

Loading…
Cancel
Save