fix: 路由跳转传参丢失

This commit is contained in:
guozhigq
2024-02-15 21:59:28 +08:00
parent 32b2f0ceff
commit d57f84a1d7
2 changed files with 5 additions and 3 deletions

View File

@ -105,7 +105,7 @@ class _MemberPageState extends State<MemberPage>
actions: [
IconButton(
onPressed: () => Get.toNamed(
'/memberSearch?mid=${Get.parameters['mid']}&uname=${_memberController.memberInfo.value.name!}'),
'/memberSearch?mid=$mid&uname=${_memberController.memberInfo.value.name!}'),
icon: const Icon(Icons.search_outlined),
),
PopupMenuButton(