更新
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<msg-models :showAuthFrror="showAuthFrror" @hideOneModal="hideModel"></msg-models>
|
||||
<three-sites @hideOneModal="showThreeSites=false" :showThreeSites="showThreeSites"></three-sites>
|
||||
<three-sites v-if="showThreeSites" @hideOneModal="showThreeSites=false" :showThreeSites="showThreeSites"></three-sites>
|
||||
<transBlcok ref="transBlcok" />
|
||||
<!-- <tabbar :current-page="0"/> -->
|
||||
</view>
|
||||
@@ -335,9 +335,7 @@
|
||||
|
||||
onReady() {
|
||||
|
||||
|
||||
let _that = this
|
||||
let IsOtherUser = _that.isOther
|
||||
let IsOtherUser = this.isOther
|
||||
if (IsOtherUser) {
|
||||
uni.showToast({
|
||||
title: '卡力用户只支持跳转登录',
|
||||
@@ -348,12 +346,11 @@
|
||||
})
|
||||
return
|
||||
}
|
||||
console.log('首页 非卡力 进入')
|
||||
// console.log('首页 非卡力 进入')
|
||||
},
|
||||
onShow() {
|
||||
this.refreshLocation()
|
||||
let _that = this
|
||||
let IsOtherUser = _that.isOther
|
||||
let IsOtherUser = this.isOther
|
||||
if (IsOtherUser) {
|
||||
uni.showToast({
|
||||
title: '卡力用户只支持跳转登录',
|
||||
@@ -367,9 +364,7 @@
|
||||
},
|
||||
onLoad(e) {
|
||||
// uni.hideTabBar()
|
||||
|
||||
let _that = this
|
||||
let IsOtherUser = _that.isOther
|
||||
let IsOtherUser = this.isOther
|
||||
|
||||
if (IsOtherUser) {
|
||||
// 卡力
|
||||
@@ -543,8 +538,7 @@
|
||||
getAuthInfo() {
|
||||
oilSiteApi.getUserAuthInfo().then(res => {
|
||||
if (res.code === 20000) {
|
||||
let _that = this
|
||||
let IsOtherUser = _that.isOther
|
||||
let IsOtherUser = this.isOther
|
||||
if (IsOtherUser) {
|
||||
uni.showToast({
|
||||
title: '卡力用户只支持跳转登录',
|
||||
@@ -726,10 +720,7 @@
|
||||
if (!uni.getStorageSync('user')) {
|
||||
data1.params.role = 1
|
||||
oilSiteApi.readOnlySites(data1).then(res => {
|
||||
let _that = this
|
||||
let IsOtherUser = _that.isOther
|
||||
console.log(IsOtherUser, '这里是判断是否为卡力')
|
||||
console.log('这里是readOnlySites', IsOtherUser, '++++++')
|
||||
let IsOtherUser = this.isOther
|
||||
if (IsOtherUser) {
|
||||
uni.showToast({
|
||||
title: '卡力用户只支持跳转登录',
|
||||
|
||||
Reference in New Issue
Block a user