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/Ui/UiPagination.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/PAMapp/components/Ui/UiPagination.vue b/PAMapp/components/Ui/UiPagination.vue
index 5ab226b..822d0de 100644
--- a/PAMapp/components/Ui/UiPagination.vue
+++ b/PAMapp/components/Ui/UiPagination.vue
@@ -12,20 +12,20 @@
 
 <script lang="ts">
 import { Vue, Component, Prop, Emit, Watch } from 'nuxt-property-decorator';
-import { Consultants } from '~/assets/ts/models/consultant.model';
+import { Consultant } from '~/assets/ts/models/consultant.model';
 
 @Component
 export default class UiPagination extends Vue {
-    @Prop() totalList!: Consultants[];
+    @Prop() totalList!: Consultant[];
     @Prop({default: 5}) pageSize!: number;
     currentPage = 1;
-    pageList: Consultants[] = [];
+    pageList: Consultant[] = [];
 
     mounted() {
         this.handleCurrentChange(this.currentPage);
     }
 
-    @Emit('changePage') chagnePage(): Consultants[] {
+    @Emit('changePage') chagnePage(): Consultant[] {
         return this.pageList
     }
 
@@ -41,7 +41,7 @@
         }
     }
 
-    @Watch('totalList') watchtotalList(newValue: Consultants[]) {
+    @Watch('totalList') watchtotalList(newValue: Consultant[]) {
         if (newValue) {
             this.handleCurrentChange(this.currentPage);
         }

--
Gitblit v1.8.0