From 2a9149727870941d19369d14482c64a8d49b7170 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 23 六月 2021 09:28:05 +0800
Subject: [PATCH] 1

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
index 0d9542d..28e66fa 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
@@ -211,6 +211,7 @@
                         conditionJOb.Add("key", dic["key"]);
                         var c1 = "";
                         dic.TryGetValue("comparator", out c1);
+                        c1 = string.IsNullOrEmpty(c1) ? "" : c1;
                         conditionJOb.TryAdd("comparator", c1);
                         conditionJOb.Add("data_type", dic["data_type"]);
                         conditionJOb.Add("value", dic["value"]);
@@ -244,7 +245,8 @@
 
                 var pushConfigsArray = new JArray { };
                 if (logic.pushConfigs.Count > 0)
-                {   //聽鎺ㄩ�佹枃鏈�
+                {
+                    //聽鎺ㄩ�佹枃鏈�
                     foreach (var pushConfig in logic.pushConfigs)
                     {
 

--
Gitblit v1.8.0