This commit is contained in:
Putoo
2026-04-28 11:55:57 +08:00
parent e074c980c3
commit 4facfd980c
2 changed files with 4 additions and 3 deletions

View File

@@ -34,6 +34,7 @@ export class MessageExtend {
} else if (type == 'fail') { } else if (type == 'fail') {
showFailToast(text) showFailToast(text)
} else { } else {
console.log(text);
showToast(text) showToast(text)
} }
} }

View File

@@ -109,7 +109,7 @@ const Initialize = async (): Promise<void> => {
console.log(isOnline.value); console.log(isOnline.value);
} }
else { else {
MessageExtend.ShowToast("fail", result.msg); MessageExtend.ShowToast(result.msg,"fail");
} }
}; };
@@ -121,7 +121,7 @@ onMounted(async () => {
const id = PageExtend.QueryString("id"); const id = PageExtend.QueryString("id");
MessageExtend.ShowToast("success", id); MessageExtend.ShowToast(id);
await Initialize(); await Initialize();