confirm 支持指定确认文字
This commit is contained in:
parent
2357a53caa
commit
9eba9c4d96
|
@ -187,7 +187,7 @@ export const confirm: (
|
|||
content: string,
|
||||
title?: string,
|
||||
confirmText?: string
|
||||
) => Promise<any> = (content, title) =>
|
||||
) => Promise<any> = (content, title, confirmText) =>
|
||||
Alert.getInstance().confirm(content, title, confirmText);
|
||||
export const ThemedAlert = themeable(Alert);
|
||||
export default ThemedAlert;
|
||||
|
|
Loading…
Reference in New Issue