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 | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/PAMapp/components/NavBar.vue b/PAMapp/components/NavBar.vue index c3fc5b3..111e909 100644 --- a/PAMapp/components/NavBar.vue +++ b/PAMapp/components/NavBar.vue @@ -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