mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-13 17:52:28 +08:00
fix 翻页bug
This commit is contained in:
@@ -250,8 +250,8 @@ class MessageChain(ChainBase):
|
||||
cache_list: list = cache_data.get('items')
|
||||
total = len(cache_list)
|
||||
# 加一页
|
||||
self._current_page += 1
|
||||
cache_list = cache_list[self._current_page * self._page_size:(self._current_page + 1) * self._page_size]
|
||||
cache_list = cache_list[
|
||||
(self._current_page + 1) * self._page_size:(self._current_page + 2) * self._page_size]
|
||||
if not cache_list:
|
||||
# 没有数据
|
||||
self.post_message(Notification(
|
||||
|
||||
Reference in New Issue
Block a user