From cd07949a641324d7b6d4627fb13628f972dd1f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=A0=E6=B1=90?= <291808500@qq.com> Date: Thu, 24 Aug 2023 17:01:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E8=AF=9D=E5=88=97=E8=A1=A8=E7=81=B0?= =?UTF-8?q?=E5=B1=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/msg/TIMUIKitConversation/tim_uikit_conversation.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle_app/lib/app/msg/TIMUIKitConversation/tim_uikit_conversation.dart b/circle_app/lib/app/msg/TIMUIKitConversation/tim_uikit_conversation.dart index 7598849..44c646c 100644 --- a/circle_app/lib/app/msg/TIMUIKitConversation/tim_uikit_conversation.dart +++ b/circle_app/lib/app/msg/TIMUIKitConversation/tim_uikit_conversation.dart @@ -455,7 +455,7 @@ class _TIMConversationState extends TIMUIKitState { Map myInfo = jsonDecode(myuserFullInfo! .customInfo!['Label'] .toString()); - if (myInfo.containsKey('city')) { + if (null!=myInfo&&myInfo.containsKey('city')) { if (myInfo['city'] .toString() .contains(otherInfo['city'].toString())) {