From 8309664bc53f72b0c808c339329cabcee87657c5 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 25 七月 2023 17:57:11 +0800
Subject: [PATCH] 移植库过来

---
 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