diff --git a/app/src/plugin/platformUtils.ts b/app/src/plugin/platformUtils.ts index f16f2257f..18771548b 100644 --- a/app/src/plugin/platformUtils.ts +++ b/app/src/plugin/platformUtils.ts @@ -25,7 +25,7 @@ export interface ISendNotificationOptions { title?: string, body?: string, delayInSeconds?: number, - timeoutType?: "default" | "never" + timeoutType?: "default" | "never" // 该参数仅在桌面端有效 } export const sendNotification = (options: ISendNotificationOptions): Promise => { @@ -40,7 +40,7 @@ export const sendNotification = (options: ISendNotificationOptions): Promise