refine:set page=1 when table filter

This commit is contained in:
Pan 2017-09-11 11:17:29 +08:00
parent a4f8e0b805
commit f0afbf7ea5

View file

@ -236,6 +236,7 @@ export default {
}) })
}, },
handleFilter() { handleFilter() {
this.listQuery.page = 1
this.getList() this.getList()
}, },
handleSizeChange(val) { handleSizeChange(val) {