round完成

This commit is contained in:
2023-06-28 21:02:31 +08:00
parent 1063053510
commit 67cb0df5b9
12 changed files with 198 additions and 35 deletions

View File

@@ -100,9 +100,11 @@ const handleSubmit = async ({ values, errors }) => {
await userStore.login(form)
const { redirect, ...otherQuery } = router.currentRoute.value.query
router.push({
name: redirect || "Workplace"
name: redirect || "Workplace",
query:{
...otherQuery // 将退出时的查询参数放入,这样就不会错误
}
})
Message.success("登录成功,等待跳转")
} catch (err) {
errorMessage.value = err.message
} finally {