fix(login): 修复登录成功后路由跳转失败的问题
正确的参数顺序对于用户创建操作至关重要。之前,由于参数顺序错误,UUID未正确分配给新用户,导致登录成功后无法重定向到'/result'路径。此修复重新排列了用户创建查询中的参数顺序,确保UUID正确分配,从而使登录成功后的新用户能够正确重定向。
This commit is contained in:
parent
f5adeec256
commit
c70d3cbc01
@ -24,7 +24,7 @@ const viewComponent = computed(() => {
|
||||
return size1920;
|
||||
}
|
||||
})
|
||||
/*deadlineAPI().then((res)=>{
|
||||
deadlineAPI().then((res)=>{
|
||||
if(res.data.status===2){
|
||||
router.push({
|
||||
path: '/result',
|
||||
@ -33,7 +33,7 @@ const viewComponent = computed(() => {
|
||||
}
|
||||
})
|
||||
}
|
||||
})*/
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
Loading…
Reference in New Issue
Block a user