[UI.Client]

Recipe对比报错问题修改
This commit is contained in:
hanqiangqiang 2024-05-22 16:16:29 +08:00
parent 7d492b375d
commit 07e3228537
1 changed files with 2 additions and 1 deletions

View File

@ -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<object>.Default.Compare(obj1, obj2) == 0))
if (!(Object.Equals(obj1, obj2)))
{
//recipe1step[j].Highlight();//不同部分高亮
//recipe2step[j].Highlight();