fix
This commit is contained in:
parent
8a657318fc
commit
65e3d4f81d
1 changed files with 3 additions and 3 deletions
|
@ -329,9 +329,9 @@
|
|||
},
|
||||
mounted () {
|
||||
if (this.cachePageSize && this.cacheKey !== null) {
|
||||
const pageSize = window.localStorage.getItem(this.pageSizeKey);
|
||||
if (this.pageSizeOpts.includes(pageSize)) {
|
||||
this.currentPageSize = pageSize;
|
||||
let pageSize = window.localStorage.getItem(this.pageSizeKey);
|
||||
if (pageSize && this.pageSizeOpts.includes(parseInt(pageSize))) {
|
||||
this.currentPageSize = parseInt(pageSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue