更新
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
<button class="cu-btn margin-top round lg" @tap="refuseEmpower">
|
||||
输入手机号码登录
|
||||
</button>
|
||||
<button class="cu-btn margin-top bg-0 round lg" @tap="refuseLogin">
|
||||
<button v-if="isShow" class="cu-btn margin-top bg-0 round lg" @tap="refuseLogin">
|
||||
跳过
|
||||
</button>
|
||||
</view>
|
||||
@@ -95,7 +95,8 @@
|
||||
loginRes: {},
|
||||
sessionKey: '',
|
||||
nickName: '',
|
||||
loginOut: uni.getStorageSync('loginOut') ? true : false
|
||||
loginOut: uni.getStorageSync('loginOut') ? true : false,
|
||||
isShow:true
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
@@ -134,7 +135,10 @@
|
||||
let siteId = uni.getStorageSync('siteId')
|
||||
uni.clearStorageSync();
|
||||
if(isJump) uni.setStorageSync('isJump',isJump)
|
||||
if(siteId) uni.setStorageSync('siteId',siteId)
|
||||
if(siteId) {
|
||||
this.isShow = false
|
||||
uni.setStorageSync('siteId',siteId)
|
||||
}
|
||||
this.refreshLocation()
|
||||
let _that = this
|
||||
uni.login({
|
||||
|
||||
Reference in New Issue
Block a user