fix:分页插件bug修复
This commit is contained in:
@@ -87,7 +87,8 @@ export default {
|
|||||||
this.resetPageSizes();
|
this.resetPageSizes();
|
||||||
}else{
|
}else{
|
||||||
let pageSize = localStorage.getItem('nz-pageSize-' + localStorage.getItem('nz-username') + '-' + this.tableId);
|
let pageSize = localStorage.getItem('nz-pageSize-' + localStorage.getItem('nz-username') + '-' + this.tableId);
|
||||||
if(pageSize != 'undefined'){
|
console.log(typeof pageSize)
|
||||||
|
if(pageSize != 'undefined' && pageSize != null){
|
||||||
this.pageSize=parseInt(pageSize);
|
this.pageSize=parseInt(pageSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user