lixiaojun
2025-04-09 9aa8106d88fc3070498493e2819922f7ac31746e
WinFrmUI/Yw.WinFrmUI.Bimface.Core/01-interop/01-interop3d/BimfaceInterop3dContainer.cs
@@ -503,6 +503,10 @@
            {
                return;
            }
            if (obj == null)
            {
                return;
            }
            await this.webViewControl1.EvaluateScriptAsync("loadFlowEffect", obj);
        }
@@ -515,7 +519,12 @@
            {
                return;
            }
            await this.webViewControl1.EvaluateScriptAsync("loadFlowEffectList", obj);
            var list = obj?.Where(x => x != null).ToList();
            if (list == null || list.Count < 1)
            {
                return;
            }
            await this.webViewControl1.EvaluateScriptAsync("loadFlowEffectList", list);
        }
        /// <summary>
@@ -524,6 +533,10 @@
        public async Task UpdateFlowEffect(LogicFlowEffect obj)
        {
            if (!_isViewInitialized)
            {
                return;
            }
            if (obj == null)
            {
                return;
            }
@@ -539,7 +552,12 @@
            {
                return;
            }
            await this.webViewControl1.EvaluateScriptAsync("updateFlowEffectList", obj);
            var list = obj?.Where(x => x != null).ToList();
            if (list == null || list.Count < 1)
            {
                return;
            }
            await this.webViewControl1.EvaluateScriptAsync("updateFlowEffectList", list);
        }
        /// <summary>