mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-26 17:27:23 +08:00
✨ feat: 增加无限滚动页面大小至100,以优化历史和收藏视图的加载体验
This commit is contained in:
@@ -217,7 +217,7 @@ const handleBatchDownload = async () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// 无限滚动相关
|
// 无限滚动相关
|
||||||
const pageSize = 16;
|
const pageSize = 100;
|
||||||
const currentPage = ref(1);
|
const currentPage = ref(1);
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ const displayList = ref<SongResult[]>([]);
|
|||||||
const playerStore = usePlayerStore();
|
const playerStore = usePlayerStore();
|
||||||
|
|
||||||
// 无限滚动相关配置
|
// 无限滚动相关配置
|
||||||
const pageSize = 20;
|
const pageSize = 100;
|
||||||
const currentPage = ref(1);
|
const currentPage = ref(1);
|
||||||
|
|
||||||
// 获取当前页的音乐详情
|
// 获取当前页的音乐详情
|
||||||
|
|||||||
Reference in New Issue
Block a user