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毫秒时延 //ios点击300毫秒时延
FastClick.attach(document.body) 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 Vue.config.productionTip = false
new Vue({ new Vue({
router, router,

View File

@@ -190,14 +190,6 @@ export default {
}) })
}, 100) }, 100)
window.appCallBack = this.appCallBack window.appCallBack = this.appCallBack
window.addEventListener('resize', function () {
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') {
console.log('asdasdaaaaaaaaaaaa======================')
window.setTimeout(function () {
document.activeElement.scrollIntoViewIfNeeded()
}, 0)
}
})
}, },
methods: { methods: {
/** /**