Merge pull request '枚举转字典job,若网页修改了TagType,下一次请求,一直重置TagType的问题' (#82) from zhao-fuck-sky/Admin.NET.Pro:main into main
Reviewed-on: http://101.43.53.74:3000/Admin.NET/Admin.NET.Pro/pulls/82
This commit is contained in:
commit
75cbf5bb87
@ -60,7 +60,7 @@ public class EnumToDictJob : IJob
|
||||
dictData.Code = enumData.Name;
|
||||
dictData.OrderNo = enumData.Value + 10;
|
||||
dictData.Name = enumData.Describe;
|
||||
dictData.TagType = enumData.Theme != "" ? enumData.Theme : "info";
|
||||
dictData.TagType = enumData.Theme != "" ? enumData.Theme : dictData.TagType != "" ? dictData.TagType : "info";
|
||||
uSysDictData.Add(dictData);
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user