From 4310ebf9bccd89cb077f6adc1b6bcc7f18dc3c68 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期三, 08 十二月 2021 16:56:43 +0800
Subject: [PATCH] fixed: method spelling error

---
 PAMapp/components/Ui/UiPagination.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/PAMapp/components/Ui/UiPagination.vue b/PAMapp/components/Ui/UiPagination.vue
index 822d0de..40f2709 100644
--- a/PAMapp/components/Ui/UiPagination.vue
+++ b/PAMapp/components/Ui/UiPagination.vue
@@ -25,7 +25,7 @@
         this.handleCurrentChange(this.currentPage);
     }
 
-    @Emit('changePage') chagnePage(): Consultant[] {
+    @Emit('changePage') changePage(): Consultant[] {
         return this.pageList
     }
 
@@ -37,14 +37,14 @@
 
         if (this.totalList) {
             this.pageList = this.totalList.slice(this.pageSize * currentPage - this.pageSize, this.pageSize * currentPage)
-            this.chagnePage();
+            this.changePage();
         }
     }
 
-    @Watch('totalList') watchtotalList(newValue: Consultant[]) {
+    @Watch('totalList') watchTotalList(newValue: Consultant[]) {
         if (newValue) {
             this.handleCurrentChange(this.currentPage);
         }
     }
 }
-</script>
\ No newline at end of file
+</script>

--
Gitblit v1.8.0