fix: 视频详情页null

This commit is contained in:
guozhigq
2024-01-21 11:37:19 +08:00
parent 32f84dc703
commit aa4e251295
4 changed files with 12 additions and 10 deletions

View File

@ -9,7 +9,8 @@ import './controller.dart';
class RelatedVideoPanel extends StatelessWidget {
final ReleatedController _releatedController =
Get.put(ReleatedController(), tag: Get.arguments['heroTag']);
Get.put(ReleatedController(), tag: Get.arguments?['heroTag']);
RelatedVideoPanel({super.key});
@override
Widget build(BuildContext context) {