mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-17 03:04:46 +08:00
fix: 解决网站打开页面错误的问题 (#2350)
This commit is contained in:
parent
6876f28505
commit
9c417e113a
@ -81,9 +81,11 @@ defineExpose({
|
|||||||
});
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
let itemSize = Number(localStorage.getItem(props.paginationConfig.cacheSizeKey));
|
if (props.paginationConfig?.cacheSizeKey) {
|
||||||
if (itemSize) {
|
let itemSize = Number(localStorage.getItem(props.paginationConfig.cacheSizeKey));
|
||||||
props.paginationConfig.pageSize = itemSize;
|
if (itemSize) {
|
||||||
|
props.paginationConfig.pageSize = itemSize;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user