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

This commit is contained in:
pangxingyue
2021-03-11 17:34:24 +08:00
2 changed files with 9 additions and 9 deletions

View File

@@ -132,7 +132,15 @@ permission()
//ios点击300毫秒时延
FastClick.attach(document.body)
// 监听input弹窗滚动到可视区域
window.addEventListener('resize', function () {
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') {
console.log('asdasdaaaaaaaaaaaa======================')
window.setTimeout(function () {
document.activeElement.scrollIntoViewIfNeeded()
}, 0)
}
})
Vue.config.productionTip = false
new Vue({
router,