From 6e64ed2a204dc2679579d118602067382e6ebec6 Mon Sep 17 00:00:00 2001
From: Jack <jack.su@pollex.com.tw>
Date: 星期二, 23 十一月 2021 18:35:35 +0800
Subject: [PATCH] Merge branch 'master' of ssh://192.168.0.10:29418/pcalife/PAM

---
 PAMapp/components/BackActionBar.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/PAMapp/components/BackActionBar.vue b/PAMapp/components/BackActionBar.vue
index 428fab1..d5da906 100644
--- a/PAMapp/components/BackActionBar.vue
+++ b/PAMapp/components/BackActionBar.vue
@@ -9,12 +9,13 @@
 <script lang="ts">
 import { namespace } from 'nuxt-property-decorator';
 import { Vue, Component,} from 'vue-property-decorator';
+import { Role } from '~/assets/ts/models/enum/Role';
 import * as _ from 'lodash';
-import { Role } from './NavBar.vue';
-const localStorage = namespace('localStorage');
+
+const roleStorage = namespace('localStorage');
 @Component
 export default class UiCarousel extends Vue {
-  @localStorage.Getter currentRole!:string;
+  @roleStorage.Getter currentRole!:string;
   get label(): string {
     if (this.$route.name) {
       const routeName = this.$route.name.split('-')[0];

--
Gitblit v1.8.0