保誠-保戶業務員媒合平台
Tomas
2021-12-08 4310ebf9bccd89cb077f6adc1b6bcc7f18dc3c68
fixed: method spelling error
修改1個檔案
8 ■■■■ 已變更過的檔案
PAMapp/components/Ui/UiPagination.vue 8 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
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>
</script>