111
This commit is contained in:
@@ -11,6 +11,19 @@ export class MessageExtend {
|
||||
});
|
||||
}
|
||||
|
||||
static LoadingToast(message?: string) {
|
||||
showLoadingToast({
|
||||
message: message || '加载中',
|
||||
forbidClick: true,
|
||||
loadingType: 'spinner',
|
||||
duration: 0
|
||||
});
|
||||
}
|
||||
|
||||
static LoadingClose() {
|
||||
closeToast();
|
||||
}
|
||||
|
||||
// 提示弹窗
|
||||
static ShowDialog(title: string, message: string) {
|
||||
showDialog({ title: title, message: message })
|
||||
|
||||
Reference in New Issue
Block a user