From 4d7cab4a224f11657e3cb61b486a3280c65db3df Mon Sep 17 00:00:00 2001 From: johnniang Date: Mon, 15 Apr 2019 19:40:01 +0800 Subject: [PATCH] Fix pagination bug --- src/views/attachment/AttachmentList.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index cf711832..03538483 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -23,9 +23,9 @@
@@ -219,6 +219,11 @@ export default { onChildClose() { this.drawerVisible = false }, + handlePaginationChange(page, pageSize) { + this.pagination.page = page + this.pagination.size = pageSize + this.loadAttachments() + }, handleUpload(option) { this.$log.debug('Uploading option', option) const CancelToken = attachmentApi.CancelToken