Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit 600603a

Browse files
author
Hoang Nguyen
authored
Fixes incorrect results of list view when refreshing the page by (#813)
1 parent b1b1d32 commit 600603a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/views/AutogenView.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,12 @@ export default {
505505
params.isofilter = 'all'
506506
}
507507
if (Object.keys(this.$route.query).length > 0) {
508+
if ('page' in this.$route.query) {
509+
this.page = Number(this.$route.query.page)
510+
}
511+
if ('pagesize' in this.$route.query) {
512+
this.pagesize = Number(this.$route.query.pagesize)
513+
}
508514
Object.assign(params, this.$route.query)
509515
}
510516
delete params.q

0 commit comments

Comments
 (0)