From b46d7bd86cc60923820ab6e6edc851b1ad3ef1d3 Mon Sep 17 00:00:00 2001 From: iapyang Date: Tue, 21 Dec 2021 14:50:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/base/foundation/message.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/typescript/base/foundation/message.ts b/typescript/base/foundation/message.ts index 40c79cc0e..ce7d54c3a 100644 --- a/typescript/base/foundation/message.ts +++ b/typescript/base/foundation/message.ts @@ -1,6 +1,6 @@ export type _msg = { - alert: (title: string, message?: string, callback?: (result?: boolean)=>void) => void - confirm: (title: string, message?: string, callback?: (result: boolean)=>void) => void + alert: (title: string, message?: string | {[key: string]: any}, callback?: (result?: boolean)=>void) => void + confirm: (title: string, message?: string | {[key: string]: any}, callback?: (result: boolean)=>void) => void prompt: (title: string, message?: string, value?: any, callback?: (result: string) => void, minWidth?: number) => void - toast: (message: string, options?: object, context?: HTMLElement ) => void -} \ No newline at end of file + toast: (message: string, options?: object, context?: HTMLElement) => void +}