Merge branch 'feature/【GFRS-2215】重新投保' into dev

This commit is contained in:
pangxingyue
2021-03-11 17:38:55 +08:00

View File

@@ -134,13 +134,13 @@ permission()
FastClick.attach(document.body) FastClick.attach(document.body)
// 监听input弹窗滚动到可视区域 // 监听input弹窗滚动到可视区域
window.addEventListener('resize', function () { window.addEventListener('resize', function () {
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') { if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') {
console.log('asdasdaaaaaaaaaaaa======================')
window.setTimeout(function () { window.setTimeout(function () {
document.activeElement.scrollIntoViewIfNeeded() document.activeElement.scrollIntoViewIfNeeded()
}, 0) }, 0)
} }
}) })
Vue.config.productionTip = false Vue.config.productionTip = false
new Vue({ new Vue({
router, router,