From 01da9f0fd4e453053fdf5fc67f20b1561be6134c Mon Sep 17 00:00:00 2001
From: Davin <591807572@qq.com>
Date: 星期四, 27 七月 2023 13:49:03 +0800
Subject: [PATCH] bugfix 猫眼呼叫

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index 85c52d9..c75fe65 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -1452,13 +1452,13 @@
 
                     Inverter.Ins.H5Page.JSToNativeAction = (dictionary) =>
                     {
-                        //var jObj = dictionary;
-                        //JObject jObj = JObject.Parse(Newtonsoft.Json.JsonConvert.SerializeObject(dictionary));
-
+#if __IOS__
+                        JObject jObj = JObject.Parse(Newtonsoft.Json.JsonConvert.SerializeObject(dictionary));
+#else
                         var valuePairs = "";
                         dictionary.TryGetValue("method", out valuePairs);
                         JObject jObj = JObject.Parse(valuePairs);
-
+#endif
 
                         if (!jObj.ContainsKey("method") || !jObj.ContainsKey("data"))
                         {
@@ -1511,7 +1511,7 @@
 
             s1View.Height = s2View.Height = functionContentView.Height = functionContentViewHeight + Application.GetRealWidth(40);
 
-            #endregion
+#endregion
         }
 
        

--
Gitblit v1.8.0