This commit is contained in:
pengxiaolong
2025-07-07 18:46:02 +08:00
parent a46cbf79f6
commit 51ce853bde
2 changed files with 12 additions and 6 deletions

View File

@@ -128,7 +128,6 @@ const onSubmit = () => {
text: "Loading",
background: "rgba(0, 0, 0, 0.7)",
});
setUserPass(formData.value);
rentgetloginID({
name: formData.value.tenantName,
})
@@ -147,6 +146,7 @@ const onSubmit = () => {
tokenCache.setToken(res.tokenValue)
userCache.setUser(res)
setUser(res);
setUserPass(formData.value);
router.push("/nav");
})
.catch((err) => {