Explorar el Código

修复附近的人报错

iOS_cz hace 4 años
padre
commit
7cea0e077a
Se han modificado 1 ficheros con 1 adiciones y 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,
           ),
         ),
       );