mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: handle reply
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -159,7 +159,7 @@ class VideoReplyReplyController extends CommonController
|
||||
if (isDialogue) {
|
||||
if (replies.replies.isNotEmpty) {
|
||||
noMore.value = '加载中...';
|
||||
if (replies.cursor.isEnd || count.value >= replies.replies.length) {
|
||||
if (replies.cursor.isEnd || replies.replies.length >= count.value) {
|
||||
noMore.value = '没有更多了';
|
||||
}
|
||||
} else {
|
||||
@@ -170,7 +170,7 @@ class VideoReplyReplyController extends CommonController
|
||||
if (replies.root.replies.isNotEmpty) {
|
||||
noMore.value = '加载中...';
|
||||
if (replies.cursor.isEnd ||
|
||||
count.value >= replies.root.replies.length) {
|
||||
replies.root.replies.length >= count.value) {
|
||||
noMore.value = '没有更多了';
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user