mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-22 23:31:01 +08:00
Make a send success system
This commit is contained in:
parent
5445a3d1c0
commit
da524c9e68
@ -153,6 +153,7 @@ const submitChangeAction = async (action: string) => {
|
||||
console.error("Error updating user data:", response.error);
|
||||
return;
|
||||
}
|
||||
sendSuccessSystem();
|
||||
await validateUserInfo();
|
||||
} catch (error) {
|
||||
console.error("Failed to submit change:", error);
|
||||
@ -189,6 +190,7 @@ const submitUserPassword = async () => {
|
||||
success.value = true;
|
||||
console.log(res);
|
||||
userAccount.value = "";
|
||||
sendSuccessSystem();
|
||||
await validateUserInfo();
|
||||
} else {
|
||||
error.value = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user