From cd4d4b0ef4c31c826898d83d39c28e5f94aa72c0 Mon Sep 17 00:00:00 2001 From: guozhigq Date: Sat, 15 Jul 2023 11:07:12 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E4=BF=AE=E6=94=B9liveRoom=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/history/widgets/item.dart | 2 +- lib/pages/liveRoom/controller.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/history/widgets/item.dart b/lib/pages/history/widgets/item.dart index 63a76c209..2d8b2ea4a 100644 --- a/lib/pages/history/widgets/item.dart +++ b/lib/pages/history/widgets/item.dart @@ -44,7 +44,7 @@ class HistoryItem extends StatelessWidget { 'cover': videoItem.cover, }); Get.toNamed( - '/liveRoom?roomId=${videoItem.history.oid}', + '/liveRoom?roomid=${videoItem.history.oid}', arguments: {'liveItem': liveItem}, ); } else { diff --git a/lib/pages/liveRoom/controller.dart b/lib/pages/liveRoom/controller.dart index 1cbdd753c..b910bc6ef 100644 --- a/lib/pages/liveRoom/controller.dart +++ b/lib/pages/liveRoom/controller.dart @@ -21,7 +21,7 @@ class LiveRoomController extends GetxController { @override void onInit() { super.onInit(); - roomId = int.parse(Get.parameters['roomId']!); + roomId = int.parse(Get.parameters['roomid']!); if (Get.arguments != null) { liveItem = Get.arguments['liveItem']; heroTag = Get.arguments['heroTag'] ?? '';