zhanghua
2022-10-20 bb036407bcc0f26a9a0f246aca100d87db2f6e76
src/views/operate/message/myIndex/index.vue
@@ -107,7 +107,7 @@
                    <div class="pagination">
                        <el-pagination background :current-page="currentPage" layout="prev, pager, next"
                            :total="totalNum" :page-size="pageSize" @current-change="changeCurrentPage"
                            @prev-click="handlePrev" @next-click="handleNext">
                            >
                        </el-pagination>
                    </div>
                </div>
@@ -334,18 +334,18 @@
        // 当前页改变触发事件
        changeCurrentPage(page) {
            this.currentPage = page;
            this.search();
            this.setTableData();
        },
        // 上一页点击事件
        handlePrev(page) {
            this.currentPage = page;
            this.search();
        },
        // 下一页点击事件
        handleNext(page) {
            this.currentPage = page;
            this.search();
        },
        // // 上一页点击事件
        // handlePrev(page) {
        //     this.currentPage = page;
        //     this.search();
        // },
        // // 下一页点击事件
        // handleNext(page) {
        //     this.currentPage = page;
        //     this.search();
        // },
        // 关闭弹窗
        handleClose(done) {
            done();