调试安卓一键登录
This commit is contained in:
@@ -146,8 +146,6 @@
|
||||
</view>
|
||||
|
||||
</block>
|
||||
<!-- 弹窗 -->
|
||||
<u-toast ref="uToast" />
|
||||
<!-- 版权信息 -->
|
||||
<view class="copyright">易品新境 beta 1.0.0</view>
|
||||
</block>
|
||||
@@ -207,13 +205,16 @@
|
||||
Promise.all([getUserInfo(), appcode()]).then(res => {
|
||||
let userInfoData = res[0],
|
||||
appcodeData = res[1]
|
||||
|
||||
|
||||
this.base = userInfoData.base
|
||||
|
||||
console.log(userInfoData.base)
|
||||
|
||||
this.count = userInfoData.count
|
||||
this.message = userInfoData.message
|
||||
this.relations = userInfoData.relations
|
||||
this.shareCode = appcodeData.code
|
||||
this.loding = true
|
||||
this.loding = true
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
@@ -224,10 +225,9 @@
|
||||
|
||||
// 努力开发中,,,
|
||||
showToast(){
|
||||
this.$refs.uToast.show({
|
||||
title: '努力开发中',
|
||||
type:'error',
|
||||
duration: 3000
|
||||
uni.showToast({
|
||||
title: '努力开发中',
|
||||
icon : 'none'
|
||||
})
|
||||
},
|
||||
|
||||
@@ -235,7 +235,10 @@
|
||||
login(){
|
||||
let auth = new userAuth()
|
||||
auth.Login().then(res => {
|
||||
if(res.auth) this.getIndex()
|
||||
if(res.auth){
|
||||
this.loding = false
|
||||
this.userInfo()
|
||||
}
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
|
||||
Reference in New Issue
Block a user