mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-02 00:58:19 +08:00
opt reload reply
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -306,9 +306,11 @@ class PgcIntroController extends CommonIntroController {
|
|||||||
// 重新请求评论
|
// 重新请求评论
|
||||||
if (videoDetailCtr.showReply) {
|
if (videoDetailCtr.showReply) {
|
||||||
try {
|
try {
|
||||||
Get.find<VideoReplyController>(tag: heroTag)
|
final replyCtr = Get.find<VideoReplyController>(tag: heroTag)
|
||||||
..aid = aid
|
..aid = aid;
|
||||||
..onReload();
|
if (replyCtr.loadingState.value is! Loading) {
|
||||||
|
replyCtr.onReload();
|
||||||
|
}
|
||||||
} catch (_) {}
|
} catch (_) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -518,9 +518,11 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
|
|||||||
// 重新请求评论
|
// 重新请求评论
|
||||||
if (videoDetailCtr.showReply) {
|
if (videoDetailCtr.showReply) {
|
||||||
try {
|
try {
|
||||||
Get.find<VideoReplyController>(tag: heroTag)
|
final replyCtr = Get.find<VideoReplyController>(tag: heroTag)
|
||||||
..aid = aid
|
..aid = aid;
|
||||||
..onReload();
|
if (replyCtr.loadingState.value is! Loading) {
|
||||||
|
replyCtr.onReload();
|
||||||
|
}
|
||||||
} catch (_) {}
|
} catch (_) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user