20260719215738
This commit is contained in:
1 parent
35aa108a34
commit
cda7f16d3a
116 files changed
+11826
-3669
No files matched your search
@@ -16,11 +16,7 @@ export async function requestNotificationPermission(): Promise<boolean> {
|
||||
}
|
||||
|
||||
// -- 预定提醒通知 --
|
||||
export async function scheduleTodoReminder(
|
||||
todoId: number,
|
||||
todoName: string,
|
||||
remindAt: string,
|
||||
) {
|
||||
export async function scheduleTodoReminder(todoId: number, todoName: string, remindAt: string) {
|
||||
if (!remindAt) return null;
|
||||
|
||||
const triggerDate = new Date(remindAt);
|
||||
|
||||
Reference in new issue
Block a user