This commit is contained in:
吳元皓 2025-06-11 11:55:18 +08:00
parent 2ae5f83a90
commit 38ce057937

View File

@ -28,8 +28,8 @@ try {
if (data.requested_action === "LOGOUT_USER") {
logoutUser();
}
if (data.requested_action === "CONTIUNE") {
if (data.userAccount.length !== 0) {
if (data.requested_action === "CONTINUE") {
if (data.userAccount && data.userAccount.length !== 0) {
allowed.value = true;
} else {
allowed.value = false;