From 3d42ccafe8a23590d7ec0e4789156f3865b26cf8 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期一, 27 十二月 2021 18:12:16 +0800 Subject: [PATCH] [ Ref ]:refactor page :accountSetting , agentInfo --- 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 0aa05ff..b59834f 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