diff --git a/src/main.js b/src/main.js index 89e874426..1f0fe9699 100644 --- a/src/main.js +++ b/src/main.js @@ -105,13 +105,13 @@ permission() FastClick.attach(document.body) // 监听input弹窗滚动到可视区域 window.addEventListener('resize', function () { - if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') { - console.log('asdasdaaaaaaaaaaaa======================') + if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') { window.setTimeout(function () { document.activeElement.scrollIntoViewIfNeeded() }, 0) } }) + Vue.config.productionTip = false new Vue({ router,