Explorar o código

修复附近的人报错

iOS_cz %!s(int64=4) %!d(string=hai) anos
pai
achega
7cea0e077a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/internal/friends/page/near_detail.dart

+ 1 - 1
lib/internal/friends/page/near_detail.dart

@@ -61,7 +61,7 @@ class NearDetailState extends State<NearDetail> {
             type: 'nearToOne',
             toUserId: id,
             title: name,
-            jubaoToUserId: widget.friendModel.targetUserId,
+            jubaoToUserId: widget.friendModel?.targetUserId,
           ),
         ),
       );