From 2835fe50d3e194c21b16fec1c53ff905dd3a3ceb Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 01 七月 2021 13:12:36 +0800
Subject: [PATCH] 20210630

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