【cfg】修复cfg 检查ref的key类型为ENum类型,不正确使用别名进行比较,产生错误警告ref不存在的bug
parent
17f7fc5b1b
commit
b123a61081
|
|
@ -41,7 +41,7 @@ namespace Luban.Job.Cfg.Datas
|
|||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return obj is DEnum o && o.StrValue == this.StrValue;
|
||||
return obj is DEnum o && o.Value == this.Value;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
|
|
|
|||
Loading…
Reference in New Issue