From 994ba6406557eeb4199a40d080f4187232ad41ab Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期三, 08 十二月 2021 10:19:16 +0800 Subject: [PATCH] Revert "refactor: pages component - separate vue files" --- PAMapp/components/NavBar.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/PAMapp/components/NavBar.vue b/PAMapp/components/NavBar.vue index 111e909..c3fc5b3 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.enum'; + import { Role } from '~/assets/ts/models/enum/Role'; import * as _ from 'lodash'; const roleStorage = namespace('localStorage'); @@ -63,11 +63,16 @@ title: '���董�����', }, { - authorityOfRoleList:[Role.ADMIN, Role.USER], + authorityOfRoleList:[Role.ADMIN], routeUrl: '/record', title: '�������', }, { + authorityOfRoleList: [Role.USER], + routeUrl: '/userReviewsRecord', + title: '�������', + }, + { authorityOfRoleList: [Role.NOT_LOGIN, Role.USER], routeUrl: '/myConsultantList/consultantList', title: '���“���', -- Gitblit v1.8.0