linwenxin 6 ماه پیش
والد
کامیت
a2f8f325ae
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      src/layout/components/Navbar.vue

+ 3 - 2
src/layout/components/Navbar.vue

@@ -130,7 +130,7 @@
               <el-badge :is-dot="isDot2" class="item">
                 <el-radio-button :label="['NOTICE']">平台公告</el-radio-button>
               </el-badge>
-              <el-badge :is-dot="isDot3" class="item">
+              <el-badge :is-dot="isDot3" class="item" v-if="shenfentype == 0">
                 <el-radio-button :label="['WDTZ']">网点通知</el-radio-button>
               </el-badge>
             </el-radio-group>
@@ -348,7 +348,8 @@ export default {
       count: 0,
       isDot1: false,
       isDot2: false,
-      isDot3: false
+      isDot3: false,
+      shenfentype: JSON.parse(localStorage.getItem('greemall_user')).type
     }
   },
   computed: {