Ver Fonte

判断是否开通卖家中心

yangc há 7 anos atrás
pai
commit
329578fa0c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      components/mobile/MobileFooter.vue

+ 1 - 1
components/mobile/MobileFooter.vue

@@ -104,7 +104,7 @@
       },
       goWithLogin: function (url, isSelf) { // 是否拦截个人
         if (this.user.logged) {
-          if (isSelf && !this.user.data.enterprise.uu) {
+          if (isSelf && (!this.user.data.enterprise.uu || this.user.data.enterprise.isVendor !== 313)) {
             this.onRemind('请先前往pc端开通卖家中心')
           } else {
             this.$router.push(url)