虚拟键盘弹起

This commit is contained in:
red-deng-deng 2022-01-22 11:57:25 +08:00
parent 6d68f7d426
commit 1e4223928d
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@
this.reaccount = ""; this.reaccount = "";
}, },
focusFn(a) { focusFn(a) {
let ele = document.querySelector('#exchangePage'); let ele = document.querySelector('.ipt-acc');
setTimeout(function () { setTimeout(function () {
ele.scrollIntoView(false); ele.scrollIntoView(false);
document.body.scrollTop = document.body.scrollHeight; document.body.scrollTop = document.body.scrollHeight;