opt reload reply

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-24 12:46:43 +08:00
parent 43c7620b4c
commit b46cb69df4
2 changed files with 10 additions and 6 deletions

View File

@@ -518,9 +518,11 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
// 重新请求评论
if (videoDetailCtr.showReply) {
try {
Get.find<VideoReplyController>(tag: heroTag)
..aid = aid
..onReload();
final replyCtr = Get.find<VideoReplyController>(tag: heroTag)
..aid = aid;
if (replyCtr.loadingState.value is! Loading) {
replyCtr.onReload();
}
} catch (_) {}
}