From fbc78b88b67eff146f9117a5e0cbadb0a9939378 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Tue, 6 Feb 2024 17:29:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=20-=20=E9=9D=9E=E4=BB=A3=E7=90=86=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E4=B8=8D=E5=8F=AF=E8=A7=81=E4=BB=A3=E7=90=86=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/user/index.vue b/pages/user/index.vue index b555fc6..fe6407d 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -352,6 +352,7 @@ MyMenus: [], is_promoter: 0, //推广人开关 1开 is_exchange_saff: false,// 是否为兑换管理员 + is_agent: false,// 是否为代理人员 extension_status: 0, copyright: { copyright_status: 1 @@ -448,6 +449,10 @@ filterMenus: function(item){ let that = this; if(item.url=='/pages/users/user_money/index') item.isShow = that.balance_func_status == 1 + else if(item.url == '/pages/agent/center'){ + console.log('是否为代理人员:',that.is_agent) + item.isShow = that.is_agent || false; + } else if(item.url=='/pages/users/user_spread_user/index'){ if(that.extension_status == 0){ item.isShow = false @@ -535,6 +540,7 @@ that.userInfo = res.data; that.is_promoter = res.data.is_promoter; that.is_exchange_saff = res.data.is_exchange_saff || false; + that.is_agent = res.data.is_agent || false; that.extension_status = res.data.extension_status; that.getMyMenus(); });