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