|
@@ -50,6 +50,7 @@ export default {
|
|
|
}),
|
|
|
computed: {
|
|
|
...mapState('createOrder', ['isShowGiftNotice']),
|
|
|
+ ...mapState('user', ['power']),
|
|
|
...mapGetters('user', ['userIdentityType']),
|
|
|
isShowGift() {
|
|
|
return (
|
|
@@ -85,7 +86,13 @@ export default {
|
|
|
this.$router.push('/common/vipsubscribeRights')
|
|
|
},
|
|
|
goBuyMember() {
|
|
|
- this.$router.push('/order/create/bigmember?meal=sj')
|
|
|
+ console.log(this.power, 'power')
|
|
|
+ if (this.power && !this.power.memberStatus) {
|
|
|
+ this.$router.push('/tabbar/home')
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ this.$router.push('/order/create/bigmember?meal=sj')
|
|
|
+ }
|
|
|
},
|
|
|
goViewrights() {
|
|
|
this.$router.push('/common/vipsubscribeRights')
|