11
This commit is contained in:
@@ -8,12 +8,12 @@ export class MessageExtend {
|
||||
}
|
||||
|
||||
// 提示弹窗
|
||||
static ShowDialog(message: string, title?: string) {
|
||||
static ShowDialog(title: string, message: string) {
|
||||
showDialog({ title: title, message: message })
|
||||
}
|
||||
|
||||
// 确认提示弹窗
|
||||
static Dialog(title: string, message: string, onConfirm?: () => void, onCancel?: () => void, confirmButtonText?: string) {
|
||||
static ShowConfirmDialog(title: string, message: string, onConfirm?: () => void, onCancel?: () => void, confirmButtonText?: string) {
|
||||
showConfirmDialog({
|
||||
title: title,
|
||||
message: message,
|
||||
@@ -33,7 +33,7 @@ export class MessageExtend {
|
||||
showSuccessToast(text)
|
||||
} else if (type == 'fail') {
|
||||
showFailToast(text)
|
||||
} else {
|
||||
} else {
|
||||
console.log(text);
|
||||
showToast(text)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user