瀏覽代碼

no message

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: {