From 2f876e63fcb078b4628f41194b1658ce76d302e7 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Mon, 28 Nov 2022 15:49:40 +0800 Subject: [PATCH] uni-wifi data modify --- uni_modules/uni-wifi/utssdk/app-android/index.uts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uni_modules/uni-wifi/utssdk/app-android/index.uts b/uni_modules/uni-wifi/utssdk/app-android/index.uts index 3765274..5307fe6 100644 --- a/uni_modules/uni-wifi/utssdk/app-android/index.uts +++ b/uni_modules/uni-wifi/utssdk/app-android/index.uts @@ -294,8 +294,8 @@ class CustomBroadcastReceiver extends BroadcastReceiver { for (let perCallback in Global.getWifiListCallbackList) { const data = new JSONObject(); - let mainJsonStr = Gson().toJson(Global.scanList); - data["wifiList"] = mainJsonStr + // let mainJsonStr = Gson().toJson(Global.scanList); + data["wifiList"] = Global.scanList perCallback(data); } -- GitLab