Commit 53a94604 authored by 罗超's avatar 罗超

修改

parent 82534089
......@@ -24,16 +24,12 @@ const userLoginHandler = async ()=>{
if(param.uid && param.uid!=''){
const response = await useUserStore().setUserAutoLoginAsync(param.uid)
console.log(response)
if(response.isSuccess){
console.log(param)
//if(response.isSuccess){
if(param.model=='0') {
router.push({
path: `/team_editor/${param.ConfigId}`
})
} else if(forword&&forword!=''&&forword.toLocaleLowerCase().indexOf('previewcover')){
router.push({
path: forword
})
} else if(param.model == '448963') {
router.push({
path: "/preview/"+param.tid
......@@ -42,12 +38,16 @@ const userLoginHandler = async ()=>{
router.push({
path: "/team_preview/"+param.ConfigId+"/"+(param.w?param.w:'')
})
} else {
} else if(param.model == '2' || param.model=='1'){
router.push({
path: "/space"
})
} else if(forword&&forword!=''&&forword.toLocaleLowerCase().indexOf('previewcover')){
router.push({
path: forword
})
}
}
//}
result.value = response
} else
result.value = { isSuccess:false, message:'无法获取到令牌信息'}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment