222
This commit is contained in:
@@ -34,6 +34,7 @@ export class MessageExtend {
|
||||
} else if (type == 'fail') {
|
||||
showFailToast(text)
|
||||
} else {
|
||||
console.log(text);
|
||||
showToast(text)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ const Initialize = async (): Promise<void> => {
|
||||
console.log(isOnline.value);
|
||||
}
|
||||
else {
|
||||
MessageExtend.ShowToast("fail", result.msg);
|
||||
MessageExtend.ShowToast(result.msg,"fail");
|
||||
}
|
||||
};
|
||||
|
||||
@@ -121,7 +121,7 @@ onMounted(async () => {
|
||||
|
||||
const id = PageExtend.QueryString("id");
|
||||
|
||||
MessageExtend.ShowToast("success", id);
|
||||
MessageExtend.ShowToast(id);
|
||||
|
||||
await Initialize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user