This commit is contained in:
My-Responsitories
2025-03-11 13:59:31 +08:00
committed by bggRGjQaUbCoE
parent 66b547a904
commit 2556290a6e

View File

@@ -630,12 +630,14 @@ class VideoIntroController extends GetxController
..cid.value = cid
..danmakuCid.value = cid
..queryVideoUrl();
if (this.bvid != bvid) {
if (cover is String && cover.isNotEmpty) {
videoDetailCtr.videoItem['pic'] = cover;
}
// 重新请求相关视频
if (videoDetailCtr.showRelatedVideo && isStein != true) {
if (videoDetailCtr.showRelatedVideo) {
try {
Get.find<RelatedController>(tag: heroTag)
..bvid = bvid
@@ -644,7 +646,7 @@ class VideoIntroController extends GetxController
}
// 重新请求评论
if (videoDetailCtr.showReply && isStein != true) {
if (videoDetailCtr.showReply) {
try {
Get.find<VideoReplyController>(tag: heroTag)
..aid = aid
@@ -654,8 +656,10 @@ class VideoIntroController extends GetxController
hasLater.value = false;
this.bvid = bvid;
lastPlayCid.value = cid;
queryVideoIntro();
}
lastPlayCid.value = cid;
queryOnlineTotal();
}