mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 视频介绍页Get.arguments为空
This commit is contained in:
@@ -49,7 +49,9 @@ class _VideoIntroPanelState extends State<VideoIntroPanel>
|
||||
super.initState();
|
||||
|
||||
/// fix 全屏时参数丢失
|
||||
heroTag = Get.arguments['heroTag'];
|
||||
if (Get.arguments != null) {
|
||||
heroTag = Get.arguments['heroTag'];
|
||||
}
|
||||
videoIntroController = Get.put(VideoIntroController(), tag: heroTag);
|
||||
_futureBuilderFuture = videoIntroController.queryVideoIntro();
|
||||
videoIntroController.videoDetail.listen((value) {
|
||||
|
||||
Reference in New Issue
Block a user