fix: 解决页面加载先后导致的分页错误问题 (#2680)

Refs #2674
This commit is contained in:
ssongliu
2023-10-25 15:01:29 +00:00
committed by GitHub
parent 0ed1b1aceb
commit 0dd14ddeff
5 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ const data = ref();
const paginationConfig = reactive({
cacheSizeKey: 'mysql-page-size',
currentPage: 1,
pageSize: 10,
pageSize: Number(localStorage.getItem('mysql-page-size')) || 10,
total: 0,
orderBy: 'created_at',
order: 'null',