|
@@ -3,7 +3,7 @@ import { mapState,mapMutations} from 'vuex'
|
|
|
import authorize from '@/common/config/authorize.js'
|
|
|
const appMixins = {
|
|
|
computed: {
|
|
|
- ...mapState(['hasLogin','isWxAuthorize'])
|
|
|
+ ...mapState(['hasLogin','isWxAuthorize','couponEntry'])
|
|
|
},
|
|
|
methods: {
|
|
|
...mapMutations(['login','logout','updateNoticeNum','updateRossShow']),
|
|
@@ -27,7 +27,7 @@ const appMixins = {
|
|
|
this.$store.commit('updateStatus',error.data)
|
|
|
this.updateRossShow()
|
|
|
uni.setStorageSync('unionId',error.data.unionId)
|
|
|
- if(!this.hasLogin){
|
|
|
+ if(!this.hasLogin && this.couponEntry === 1){
|
|
|
if(uni.getStorageSync('isActivitySwitch')){
|
|
|
const lockTime = uni.getStorageSync('lockTime')
|
|
|
const eTime = this.diffTime(lockTime)
|