From 07e322853770905dac725e6e98e220f9dfa997e1 Mon Sep 17 00:00:00 2001 From: hanqiangqiang <1364346467@qq.com> Date: Wed, 22 May 2024 16:16:29 +0800 Subject: [PATCH] =?UTF-8?q?[UI.Client]=20Recipe=E5=AF=B9=E6=AF=94=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CenterViews/Editors/Recipe/RecipeCompareViewModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MECF.Framework.UI.Client/CenterViews/Editors/Recipe/RecipeCompareViewModel.cs b/MECF.Framework.UI.Client/CenterViews/Editors/Recipe/RecipeCompareViewModel.cs index 7ef05f4..512963b 100644 --- a/MECF.Framework.UI.Client/CenterViews/Editors/Recipe/RecipeCompareViewModel.cs +++ b/MECF.Framework.UI.Client/CenterViews/Editors/Recipe/RecipeCompareViewModel.cs @@ -9,6 +9,7 @@ using MECF.Framework.UI.Client.RecipeEditorLib.RecipeModel.Params; using MECF.Framework.UI.Core.Accounts; using OpenSEMI.ClientBase; using OpenSEMI.ClientBase.Command; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; @@ -483,7 +484,7 @@ namespace MECF.Framework.UI.Client.CenterViews.Editors.Recipe object obj1 = GetValue(recipe1step[j]);//获取单元格中的数值,object类型 object obj2 = GetValue(recipe2step[j]); - if (!(Comparer.Default.Compare(obj1, obj2) == 0)) + if (!(Object.Equals(obj1, obj2))) { //recipe1step[j].Highlight();//不同部分高亮 //recipe2step[j].Highlight();