From 1076fdc06d40646d1d6f125a3ce4d43cf4eac673 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期一, 06 十二月 2021 15:52:01 +0800
Subject: [PATCH] rename: change Consultants model to Consultant

---
 PAMapp/components/Consultant/ConsultantCard.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/PAMapp/components/Consultant/ConsultantCard.vue b/PAMapp/components/Consultant/ConsultantCard.vue
index bd059f7..c3dad48 100644
--- a/PAMapp/components/Consultant/ConsultantCard.vue
+++ b/PAMapp/components/Consultant/ConsultantCard.vue
@@ -105,7 +105,7 @@
 <script lang="ts">
 import { Vue, Component, Prop, Emit, Action, State } from 'nuxt-property-decorator';
 import { getAppointmentDetail, UserReviewsConsultantsParams, userReviewsConsultants  } from '~/assets/ts/api/consultant';
-import { Consultants, Appointment } from '~/assets/ts/models/consultant.model';
+import { Consultant, Appointment } from '~/assets/ts/models/consultant.model';
 import { isLogin } from '~/assets/ts/auth';
 import { isMobileDevice } from '~/assets/ts/device';
 
@@ -132,7 +132,7 @@
 export default class ConsultantCard extends Vue {
     @Action removeFromMyConsultantList!: (agentNo: string) => Promise<boolean>;
     @Action storeConsultantList!: any;
-    @Prop() agentInfo!: Consultants;
+    @Prop() agentInfo!: Consultant;
     isVisibleDialog = false;
     reviewsBtn = false;
     status = false;

--
Gitblit v1.8.0