保誠-保戶業務員媒合平台
Mila
2021-12-23 9de780116757fc0025b6bd47b0957af22bf2829b
fixed: npm run build error
修改7個檔案
14 ■■■■ 已變更過的檔案
PAMapp/components/BackActionBar.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/NavBar.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/agentInfo/_agentNo.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/consultantLogin/index.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/login/index.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/shared/services/auth.service.ts 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/store/localStorage.ts 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
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
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');
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');
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'
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';
PAMapp/shared/services/auth.service.ts
@@ -1,4 +1,4 @@
import { Role } from "../models/enum/role";
import { Role } from "../models/enum/Role";
class AuthService {
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 {