From c1e77da20ccaa61ee6e7fd64993cf31135eacbf5 Mon Sep 17 00:00:00 2001 From: Tianyi Pu <912396513@qq.com> Date: Mon, 29 Apr 2024 23:49:47 +0100 Subject: [PATCH] Update VideoView.vue --- front_end/src/views/VideoView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front_end/src/views/VideoView.vue b/front_end/src/views/VideoView.vue index ac653cd..0940437 100644 --- a/front_end/src/views/VideoView.vue +++ b/front_end/src/views/VideoView.vue @@ -237,7 +237,7 @@ const handleCurrentChange = (val: number) => { } const offsetIndex = (index: number) => { - return state.CurrentPage > 1 ? index - 19 + (state.CurrentPage) * 20 : + return state.CurrentPage > 1 ? index + 1 + (state.CurrentPage - 1) * state.PageSize : [..."🥇🥈🥉🏅🏅🏅🏅🏅🏅🏅", 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][index]; }