问题修复
This commit is contained in:
parent
aa7bb484df
commit
1d4c895c6d
|
|
@ -13,12 +13,7 @@
|
||||||
border="none"
|
border="none"
|
||||||
maxlength="11"
|
maxlength="11"
|
||||||
></u-input> -->
|
></u-input> -->
|
||||||
<u-input
|
<u-input v-model="loginForm.username" placeholder="请输入手机号" border="none" maxlength="11"></u-input>
|
||||||
v-model="loginForm.username"
|
|
||||||
placeholder="请输入手机号"
|
|
||||||
border="none"
|
|
||||||
maxlength="11"
|
|
||||||
></u-input>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="input-item flex align-center">
|
<view class="input-item flex align-center">
|
||||||
<div style="color: #777">密码</div>
|
<div style="color: #777">密码</div>
|
||||||
|
|
@ -73,7 +68,9 @@ export default {
|
||||||
globalConfig: getApp().globalData.config,
|
globalConfig: getApp().globalData.config,
|
||||||
loginForm: {
|
loginForm: {
|
||||||
username: uni.getStorageSync('remember') ? uni.getStorageSync('remember').username : 'bns', // 账号
|
username: uni.getStorageSync('remember') ? uni.getStorageSync('remember').username : 'bns', // 账号
|
||||||
password: uni.getStorageSync('remember') ? uni.getStorageSync('remember').password : '1769fb2837e10e9d22c1c25add76355a', // 密码 1769fb2837e10e9d22c1c25add76355a', // bns - 1769fb2837e10e9d22c1c25add76355a
|
password: uni.getStorageSync('remember')
|
||||||
|
? uni.getStorageSync('remember').password
|
||||||
|
: '1769fb2837e10e9d22c1c25add76355a', // 密码 1769fb2837e10e9d22c1c25add76355a', // bns - 1769fb2837e10e9d22c1c25add76355a
|
||||||
code: '',
|
code: '',
|
||||||
uuid: ''
|
uuid: ''
|
||||||
},
|
},
|
||||||
|
|
@ -118,7 +115,8 @@ export default {
|
||||||
// this.$modal.msgError("请输入验证码")
|
// this.$modal.msgError("请输入验证码")
|
||||||
} else {
|
} else {
|
||||||
// this.$modal.loading('登录中,请耐心等待...')
|
// this.$modal.loading('登录中,请耐心等待...')
|
||||||
this.pwdLogin()
|
this.$tab.reLaunch('/pages/system')
|
||||||
|
// this.pwdLogin()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 密码登录
|
// 密码登录
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue