diff --git a/aspnet-core/framework/calendars/LINGYUN.Abp.Calendar/LINGYUN/Abp/Calendar/WorkdayCalendarService.cs b/aspnet-core/framework/calendars/LINGYUN.Abp.Calendar/LINGYUN/Abp/Calendar/WorkdayCalendarService.cs index 56f796efc..3346ba5a1 100644 --- a/aspnet-core/framework/calendars/LINGYUN.Abp.Calendar/LINGYUN/Abp/Calendar/WorkdayCalendarService.cs +++ b/aspnet-core/framework/calendars/LINGYUN.Abp.Calendar/LINGYUN/Abp/Calendar/WorkdayCalendarService.cs @@ -12,10 +12,10 @@ public class WorkdayCalendarService : IWorkdayCalendarService, ITransientDepende private readonly IWorkdayCalendarStore _workdayCalendarStore; public WorkdayCalendarService( - IOptions options, + IOptionsMonitor options, IWorkdayCalendarStore workdayCalendarStore) { - _options = options.Value; + _options = options.CurrentValue; _workdayCalendarStore = workdayCalendarStore; }