From 4613c32c930e62a799b85aa97bb8c50142beb4c1 Mon Sep 17 00:00:00 2001 From: xianfuxing Date: Fri, 3 Aug 2018 12:38:09 +0800 Subject: [PATCH] # up pagination style --- src/views/counter/count.vue | 49 +++++++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/src/views/counter/count.vue b/src/views/counter/count.vue index e2fd459..836151d 100644 --- a/src/views/counter/count.vue +++ b/src/views/counter/count.vue @@ -46,8 +46,9 @@ @@ -82,6 +83,10 @@ export default { // console.log(page) this.listLoading = true this.getDeviceCount({ page }) + }, + handleSizeChange(page) { + this.listLoading = true + this.getDeviceCount({ page }) } }, created() { @@ -96,8 +101,36 @@ export default {