From 391d7db141245798c64aa8acb0f143ab4152aa79 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期三, 10 十一月 2021 10:47:46 +0800 Subject: [PATCH] TODO#130015/130016 [推薦保險顧問/我的顧問清單] api 串接 --- PAMapp/components/Consultant/ConsultantSwiper.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PAMapp/components/Consultant/ConsultantSwiper.vue b/PAMapp/components/Consultant/ConsultantSwiper.vue index 29fa092..44d95ed 100644 --- a/PAMapp/components/Consultant/ConsultantSwiper.vue +++ b/PAMapp/components/Consultant/ConsultantSwiper.vue @@ -14,7 +14,7 @@ <div class="name">{{agentInfo.name}}</div> <div> <i class="icon-star pam-icon icon--yellow"></i> - <span class="satisfaction">{{agentInfo.satisfaction}}</span> + <span class="satisfaction">{{agentInfo.avgScore}}</span> </div> </div> </swiper-slide> @@ -28,11 +28,11 @@ <script lang="ts"> import { Vue, Component, Prop } from 'vue-property-decorator'; import { SwiperOptions } from 'swiper'; -import { Agents } from '~/plugins/api/home' +import { Consultants } from '~/assets/ts/api/consultant' @Component export default class UiSwiper extends Vue { - @Prop() agents!: Agents[]; + @Prop() agents!: Consultants[]; swiperOptions: SwiperOptions = { loop: true, -- Gitblit v1.8.0