diff --git a/front_end/src/views/VideoView.vue b/front_end/src/views/VideoView.vue index b1d00201..7c81f04e 100644 --- a/front_end/src/views/VideoView.vue +++ b/front_end/src/views/VideoView.vue @@ -244,8 +244,8 @@ const handleCurrentChange = (val: number) => { } const offsetIndex = (index: number) => { - return state.CurrentPage > 1 ? index + 1 + (state.CurrentPage - 1) * state.PageSize : - [..."๐Ÿฅ‡๐Ÿฅˆ๐Ÿฅ‰๐Ÿ…๐Ÿ…๐Ÿ…๐Ÿ…๐Ÿ…๐Ÿ…๐Ÿ…", 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][index]; + return (state.CurrentPage > 1 || index > 9) ? index + 1 + (state.CurrentPage - 1) * state.PageSize : + [..."๐Ÿฅ‡๐Ÿฅˆ๐Ÿฅ‰๐Ÿ…๐Ÿ…๐Ÿ…๐Ÿ…๐Ÿ…๐Ÿ…๐Ÿ…"][index]; } // ๆ นๆฎ้…็ฝฎ๏ผŒๅˆทๆ–ฐๅฝ“ๅ‰้กต้ข็š„ๅฝ•ๅƒ่กจ