From bdae23a40c461c2c6b6ee614f661eac731c949c8 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期三, 22 十二月 2021 14:12:05 +0800 Subject: [PATCH] Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM --- PAMapp/components/NavBar.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/PAMapp/components/NavBar.vue b/PAMapp/components/NavBar.vue index 6e3d2ab..ca0cc1e 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 '~/shared/models/enum/role'; import * as _ from 'lodash'; const roleStorage = namespace('localStorage'); @@ -77,6 +77,11 @@ title: '���“���', }, { + authorityOfRoleList: [Role.NOT_LOGIN, Role.USER], + routeUrl: '/faq', + title: 'F&Q 撣貉����', + }, + { authorityOfRoleList: [Role.USER, Role.ADMIN], routeUrl: '', title: '��', -- Gitblit v1.8.0