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,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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user