diff --git a/src/assets/css/globel.css b/src/assets/css/globel.css index 1587906..92df74d 100644 --- a/src/assets/css/globel.css +++ b/src/assets/css/globel.css @@ -15,4 +15,7 @@ html,body,#app{ .el-table { margin-top: 15px; font-size: 15px; +} +.el-pagination { + margin-top: 15px; } \ No newline at end of file diff --git a/src/components/users/users.vue b/src/components/users/users.vue index 2a28cfc..a3f1c29 100644 --- a/src/components/users/users.vue +++ b/src/components/users/users.vue @@ -43,6 +43,17 @@ + + + + @@ -63,6 +74,14 @@ export default { } }, methods: { + handleSizeChange (val) { + this.queryInfo.pagesize = val + this.getUserList() + }, + handleCurrentChange (val) { + this.queryInfo.pagenum = val + this.getUserList() + }, changeState (state) { console.log(state) },