Commit 14685680 authored by 李晓兵's avatar 李晓兵

'修改登录失去焦点'

parent 2690208b
......@@ -58,8 +58,8 @@ import Jpush from './scripts/jpushService'
import Jmessage from './scripts/jmessageService'
//if (process.env.CONFIG_ENV === 'uat') {
const VConsole = require('vconsole')
new VConsole() // eslint-disable-line
// const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line
//}
Vue.use(componentInstall)
......
......@@ -179,11 +179,9 @@ export default {
hlsUtil.baiduOcr(fileUrl, url, function (res) {
hlsPopup.hideLoading()
let result = res.result.result
alert('result' + result)
vm.bank_lists[0].bank_account_num = result.bank_card_number.replace(/\s*/g, '') // 卡号
vm.bank_lists[0].bank_full_name = result.bank_name // 银行名称
vm.bank_lists.sort()
alert('数组'+ JSON.stringify(vm.bank_lists))
// vm.bank_lists.bank_card_type = result.bank_card_type
})
},
......
......@@ -9,7 +9,7 @@
</div>
<div class="pwd">
<div class="pwd-icon"><img src="../assets/login/password.png"></div>
<div class="pwd-input"><input v-model="password" :type="pwdType" placeholder="请输入密码"></div>
<div class="pwd-input"><input id="passwordInput" v-model="password" :type="pwdType" placeholder="请输入密码"></div>
<div v-if="password" class="delete" @click="changeType"><img :src="openEye"></div>
</div>
<div class="button submit" @click="access">登录</div>
......@@ -81,6 +81,7 @@ export default {
})
},
access: function () {
document.getElementById('passwordInput').blur()
let vm = this
if (!vm.username || vm.username === undefined) {
vm.hlsPopup.showLongCenter('请输入用户名')
......
......@@ -65,6 +65,7 @@ export default {
// next()
// },
activated () {
debugger
this.proQuery()
},
methods:
......
......@@ -57,9 +57,9 @@
},
beforeRouteEnter (to, from, next) {
next(vm => {
if (from.name === 'MyInfo') {
//if (from.name === 'MyInfo') {
vm.getList()
}
// }
})
},
methods: {
......
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