From b6661a090e8bcf8f45be24a01b6a7bb08e3aaff1 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期三, 08 十二月 2021 08:50:04 +0800
Subject: [PATCH] refactor: pages component - separate vue files

---
 PAMapp/components/NavBar.vue |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/PAMapp/components/NavBar.vue b/PAMapp/components/NavBar.vue
index ba27b33..111e909 100644
--- a/PAMapp/components/NavBar.vue
+++ b/PAMapp/components/NavBar.vue
@@ -7,8 +7,8 @@
       <div class="pam-header__title--sub">�����兢蝳�風��</div>
     </div>
     <div class="pam-header__action-bar">
-      <i class="icon-bell text--dark-blue cursor--pointer fix-chrome-click--issue"
-        @click="$router.push('/notification')"></i>
+      <!-- <i class="icon-bell text--dark-blue cursor--pointer fix-chrome-click--issue"
+        @click="$router.push('/notification')"></i> -->
         <el-dropdown :class="{'is-open':isOpenDropdown}"
           ref="dropdown"
           trigger="click"
@@ -34,7 +34,7 @@
 <script lang="ts">
   import { Vue, Component } from 'vue-property-decorator';
   import { namespace } from 'nuxt-property-decorator';
-  import { Role } from '~/assets/ts/models/enum/Role';
+  import { Role } from '~/assets/ts/models/enum/role.enum';
   import * as _ from 'lodash';
 
   const roleStorage = namespace('localStorage');
@@ -63,13 +63,8 @@
         title: '���董�����',
       },
       {
-        authorityOfRoleList:[Role.ADMIN],
+        authorityOfRoleList:[Role.ADMIN, Role.USER],
         routeUrl: '/record',
-        title: '�������',
-      },
-      {
-        authorityOfRoleList: [Role.USER],
-        routeUrl: '/userReviewsRecord',
         title: '�������',
       },
       {

--
Gitblit v1.8.0