mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix #424
This commit is contained in:
committed by
bggRGjQaUbCoE
parent
66b547a904
commit
2556290a6e
@@ -630,32 +630,36 @@ class VideoIntroController extends GetxController
|
|||||||
..cid.value = cid
|
..cid.value = cid
|
||||||
..danmakuCid.value = cid
|
..danmakuCid.value = cid
|
||||||
..queryVideoUrl();
|
..queryVideoUrl();
|
||||||
if (cover is String && cover.isNotEmpty) {
|
|
||||||
videoDetailCtr.videoItem['pic'] = cover;
|
if (this.bvid != bvid) {
|
||||||
|
if (cover is String && cover.isNotEmpty) {
|
||||||
|
videoDetailCtr.videoItem['pic'] = cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 重新请求相关视频
|
||||||
|
if (videoDetailCtr.showRelatedVideo) {
|
||||||
|
try {
|
||||||
|
Get.find<RelatedController>(tag: heroTag)
|
||||||
|
..bvid = bvid
|
||||||
|
..queryData();
|
||||||
|
} catch (_) {}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 重新请求评论
|
||||||
|
if (videoDetailCtr.showReply) {
|
||||||
|
try {
|
||||||
|
Get.find<VideoReplyController>(tag: heroTag)
|
||||||
|
..aid = aid
|
||||||
|
..onReload();
|
||||||
|
} catch (_) {}
|
||||||
|
}
|
||||||
|
|
||||||
|
hasLater.value = false;
|
||||||
|
this.bvid = bvid;
|
||||||
|
queryVideoIntro();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 重新请求相关视频
|
|
||||||
if (videoDetailCtr.showRelatedVideo && isStein != true) {
|
|
||||||
try {
|
|
||||||
Get.find<RelatedController>(tag: heroTag)
|
|
||||||
..bvid = bvid
|
|
||||||
..queryData();
|
|
||||||
} catch (_) {}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 重新请求评论
|
|
||||||
if (videoDetailCtr.showReply && isStein != true) {
|
|
||||||
try {
|
|
||||||
Get.find<VideoReplyController>(tag: heroTag)
|
|
||||||
..aid = aid
|
|
||||||
..onReload();
|
|
||||||
} catch (_) {}
|
|
||||||
}
|
|
||||||
|
|
||||||
hasLater.value = false;
|
|
||||||
this.bvid = bvid;
|
|
||||||
lastPlayCid.value = cid;
|
lastPlayCid.value = cid;
|
||||||
queryVideoIntro();
|
|
||||||
queryOnlineTotal();
|
queryOnlineTotal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user