From 85760ad5bc9ab45ed695e64834deebb0a9de953e Mon Sep 17 00:00:00 2001 From: orz12 Date: Mon, 26 Feb 2024 08:28:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B7=B3=E8=BD=AC=E5=9B=9E=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E9=A1=B5=E8=A7=86=E9=A2=91=E7=AE=80=E4=BB=8B=E7=A9=BA?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/video/detail/introduction/controller.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/video/detail/introduction/controller.dart b/lib/pages/video/detail/introduction/controller.dart index 9471e965..b6779fa7 100644 --- a/lib/pages/video/detail/introduction/controller.dart +++ b/lib/pages/video/detail/introduction/controller.dart @@ -23,7 +23,7 @@ import 'widgets/group_panel.dart'; class VideoIntroController extends GetxController { // 视频bvid - String bvid = Get.parameters['bvid']!; + late String bvid; // 是否预渲染 骨架屏 bool preRender = false; @@ -72,6 +72,7 @@ class VideoIntroController extends GetxController { userInfo = userInfoCache.get('userInfoCache'); try { heroTag = Get.arguments['heroTag']; + bvid = Get.parameters['bvid']!; } catch (_) {} if (Get.arguments.isNotEmpty) { if (Get.arguments.containsKey('videoItem')) {