Merge pull request #58 from Undertone0809/pagination-not-found-patch
fix: Pagination not found patch
This commit is contained in:
commit
05c787f670
@ -139,7 +139,7 @@ export default {
|
|||||||
handleSizeChange(pageSize) {
|
handleSizeChange(pageSize) {
|
||||||
let _ts = this;
|
let _ts = this;
|
||||||
_ts.$store.dispatch('admin/fetchArticles', {
|
_ts.$store.dispatch('admin/fetchArticles', {
|
||||||
page: _ts.pagination.currentPage,
|
page: _ts.articles.pageNum,
|
||||||
rows: pageSize
|
rows: pageSize
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -147,7 +147,7 @@ export default {
|
|||||||
let _ts = this;
|
let _ts = this;
|
||||||
_ts.$store.dispatch('admin/fetchArticles', {
|
_ts.$store.dispatch('admin/fetchArticles', {
|
||||||
page: page,
|
page: page,
|
||||||
rows: _ts.pagination.pageSize
|
rows: _ts.articles.pageSize
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
toggleStatus() {},
|
toggleStatus() {},
|
||||||
|
Loading…
Reference in New Issue
Block a user