Procházet zdrojové kódy

会员页 未登录判断的bug

xinfeng před 6 roky
rodič
revize
588c562f91
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      pages/type/vip/enterprise.vue

+ 1 - 1
pages/type/vip/enterprise.vue

@@ -118,7 +118,7 @@
                     'id':'4'
                 };
                 let commonUser = await this.$axios.$post("/api/admin/vip/get_rights", params);
-                if (res) {
+                if (Number(res.status) === 1) {
                     this.vipList = res.data;
                     this.commonUser = commonUser.data;
                 }