222
This commit is contained in:
@@ -33,7 +33,8 @@ export class MessageExtend {
|
|||||||
showSuccessToast(text)
|
showSuccessToast(text)
|
||||||
} else if (type == 'fail') {
|
} else if (type == 'fail') {
|
||||||
showFailToast(text)
|
showFailToast(text)
|
||||||
} else {
|
} else {
|
||||||
|
console.log(text);
|
||||||
showToast(text)
|
showToast(text)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user