From 9de780116757fc0025b6bd47b0957af22bf2829b Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期四, 23 十二月 2021 15:35:11 +0800
Subject: [PATCH] fixed: npm run build error

---
 PAMapp/components/BackActionBar.vue    |    2 +-
 PAMapp/pages/consultantLogin/index.vue |    2 +-
 PAMapp/pages/login/index.vue           |    2 +-
 PAMapp/components/NavBar.vue           |    2 +-
 PAMapp/pages/agentInfo/_agentNo.vue    |    2 +-
 PAMapp/store/localStorage.ts           |    2 +-
 PAMapp/shared/services/auth.service.ts |    2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/PAMapp/components/BackActionBar.vue b/PAMapp/components/BackActionBar.vue
index dc671d9..4ab9de3 100644
--- a/PAMapp/components/BackActionBar.vue
+++ b/PAMapp/components/BackActionBar.vue
@@ -11,7 +11,7 @@
 import { namespace } from 'nuxt-property-decorator';
 import { Vue, Component,} from 'vue-property-decorator';
 import * as _ from 'lodash';
-import { Role } from '~/shared/models/enum/role';
+import { Role } from '~/shared/models/enum/Role';
 
 const roleStorage = namespace('localStorage');
 @Component
diff --git a/PAMapp/components/NavBar.vue b/PAMapp/components/NavBar.vue
index ca0cc1e..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 '~/shared/models/enum/role';
+  import { Role } from '~/shared/models/enum/Role';
   import * as _ from 'lodash';
 
   const roleStorage = namespace('localStorage');
diff --git a/PAMapp/pages/agentInfo/_agentNo.vue b/PAMapp/pages/agentInfo/_agentNo.vue
index de479db..c2b21c7 100644
--- a/PAMapp/pages/agentInfo/_agentNo.vue
+++ b/PAMapp/pages/agentInfo/_agentNo.vue
@@ -193,7 +193,7 @@
 import myConsultantService from '~/shared/services/my-consultant.service';
 import { AgentInfo } from '~/shared/models/agent-info.model';
 import { hideReviews } from '~/shared/const/hide-reviews';
-import { Role } from '~/shared/models/enum/role';
+import { Role } from '~/shared/models/enum/Role';
 
 const roleStorage = namespace('localStorage');
 
diff --git a/PAMapp/pages/consultantLogin/index.vue b/PAMapp/pages/consultantLogin/index.vue
index b7cc08b..8b61609 100644
--- a/PAMapp/pages/consultantLogin/index.vue
+++ b/PAMapp/pages/consultantLogin/index.vue
@@ -58,7 +58,7 @@
 <script lang="ts">
   import { Vue, Component , namespace } from 'nuxt-property-decorator';
   import { AxiosError } from 'axios';
-  import { Role } from '~/shared/models/enum/role';
+  import { Role } from '~/shared/models/enum/Role';
   import messageBoxService from '~/shared/services/message-box.service';
   import loginService from '~/shared/services/login.service'
 
diff --git a/PAMapp/pages/login/index.vue b/PAMapp/pages/login/index.vue
index 18e50a5..effc075 100644
--- a/PAMapp/pages/login/index.vue
+++ b/PAMapp/pages/login/index.vue
@@ -336,7 +336,7 @@
 import { namespace } from 'nuxt-property-decorator';
 import { Vue, Component, Ref } from 'vue-property-decorator';
 import { OtpErrorCode } from '~/shared/models/enum/otpErrorCode';
-import { Role } from '~/shared/models/enum/role';
+import { Role } from '~/shared/models/enum/Role';
 import { LoginRequest } from '~/shared/models/loginRequest.model';
 import { LoginVerify } from '~/shared/models/loginVerify.model';
 import { OtpInfo } from '~/shared/models/otpInfo.model';
diff --git a/PAMapp/shared/services/auth.service.ts b/PAMapp/shared/services/auth.service.ts
index 469bace..e467576 100644
--- a/PAMapp/shared/services/auth.service.ts
+++ b/PAMapp/shared/services/auth.service.ts
@@ -1,4 +1,4 @@
-import { Role } from "../models/enum/role";
+import { Role } from "../models/enum/Role";
 
 class AuthService {
 
diff --git a/PAMapp/store/localStorage.ts b/PAMapp/store/localStorage.ts
index aefef14..87c976d 100644
--- a/PAMapp/store/localStorage.ts
+++ b/PAMapp/store/localStorage.ts
@@ -1,5 +1,5 @@
 import { Module, Mutation, VuexModule ,Action } from 'vuex-module-decorators';
-import { Role } from '~/shared/models/enum/role';
+import { Role } from '~/shared/models/enum/Role';
 import { Selected } from '~/shared/models/quick-filter.model';
 @Module
 export default class LocalStorage extends VuexModule {

--
Gitblit v1.8.0