feat: 后端枚举有none,前端没有兼容一下
This commit is contained in:
parent
67569825ee
commit
f9ac2af1ef
@ -59,7 +59,7 @@ public class GetTrackPushConfigDetailOutputVO
|
||||
/// <summary>
|
||||
/// 时间格式枚举
|
||||
/// </summary>
|
||||
public DateTimeFormatEnum DateTimeFormatType { get; set; }
|
||||
public DateTimeFormatEnum? DateTimeFormatType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日期时间格式模板
|
||||
|
||||
@ -72,7 +72,7 @@ public class TrackPushConfigRepository : BasicRepository<TrackPushConfigEntity>,
|
||||
CustomName = externalSubject.Abbreviation,
|
||||
ServiceProvider = service.Name,
|
||||
DateTimeFormat = trackPush.DateTimeFormat,
|
||||
DateTimeFormatType = trackPush.DateTimeFormatType,
|
||||
DateTimeFormatType = trackPush.DateTimeFormatType== DateTimeFormatEnum.None?null:trackPush.DateTimeFormatType,
|
||||
TimezoneFormat = trackPush.TimezoneFormat
|
||||
}, true)
|
||||
.SingleAsync();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user