This commit is contained in:
2024-03-15 23:20:20 +08:00
parent 3ce85e2396
commit 351e20f0c0
19 changed files with 311 additions and 72 deletions

View File

@@ -27,7 +27,7 @@ export function mpUpdate() {
});
}
export function showToast(title: string, icon: string = 'none', duration: number = 2000) {
export function showToast(title: string, icon: 'none' | 'success' | 'loading' | 'error' | 'fail' | 'exception' | undefined, duration: number = 2000) {
uni.showToast({
title,
icon,