Commit c265ed10 authored by linxin's avatar linxin

add

parent 38109c21
...@@ -75,6 +75,7 @@ export default { ...@@ -75,6 +75,7 @@ export default {
}, },
mounted () { mounted () {
window.addEventListener('native.keyboardhide', function () { window.addEventListener('native.keyboardhide', function () {
document.getElementById('userInput').blur()
document.activeElement.blur() document.activeElement.blur()
}) })
if (vum.Platform.isAndroid()) { // 安卓 if (vum.Platform.isAndroid()) { // 安卓
...@@ -139,6 +140,7 @@ export default { ...@@ -139,6 +140,7 @@ export default {
}, },
async access () { async access () {
document.getElementById('passwordInput').blur() document.getElementById('passwordInput').blur()
document.getElementById('userInput').blur()
document.activeElement.blur() document.activeElement.blur()
let vm = this let vm = this
if (!vm.username || vm.username === undefined) { if (!vm.username || vm.username === undefined) {
...@@ -154,10 +156,12 @@ export default { ...@@ -154,10 +156,12 @@ export default {
} }
}, },
registerNew: function () { registerNew: function () {
document.getElementById('userInput').blur()
document.getElementById('passwordInput').blur() document.getElementById('passwordInput').blur()
this.$router.push('regiester2') this.$router.push('regiester2')
}, },
pwdForgotten: function () { pwdForgotten: function () {
document.getElementById('userInput').blur()
document.getElementById('passwordInput').blur() document.getElementById('passwordInput').blur()
this.$router.push('pwd-forgot') this.$router.push('pwd-forgot')
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment