From 750dbbe04fa64fea6c48d68de8da004e445d84be Mon Sep 17 00:00:00 2001 From: gdlcf88 Date: Sun, 30 Jun 2024 22:24:49 +0800 Subject: [PATCH] Fix notificationsModal.js --- common.props | 2 +- .../Notifications/Notification/notificationsModal.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.props b/common.props index 546cc3b..96c0d31 100644 --- a/common.props +++ b/common.props @@ -1,7 +1,7 @@ latest - 1.0.0-preview.3 + 1.0.0-preview.4 $(NoWarn);CS1591;CS0436 module true diff --git a/src/EasyAbp.ProcessManagement.Web/Pages/ProcessManagement/Notifications/Notification/notificationsModal.js b/src/EasyAbp.ProcessManagement.Web/Pages/ProcessManagement/Notifications/Notification/notificationsModal.js index 2a341e3..74bde74 100644 --- a/src/EasyAbp.ProcessManagement.Web/Pages/ProcessManagement/Notifications/Notification/notificationsModal.js +++ b/src/EasyAbp.ProcessManagement.Web/Pages/ProcessManagement/Notifications/Notification/notificationsModal.js @@ -21,7 +21,7 @@ $(function () { scrollCollapse: true, ordering: false, ajax: abp.libs.datatables.createAjax(notificationService.getList, { - fromCreationTime: abp.clock.normalize(new Date(abp.clock.now().getTime() - notificationLifetime)), + fromCreationTime: abp.clock.normalize(new Date(abp.clock.now() - notificationLifetime)), userId: abp.currentUser.id, dismissed: false }),