Commit 002ca6de authored by zhengke's avatar zhengke

二维码失效 重新获取

parent af5295e4
......@@ -15,7 +15,8 @@ export enum ApiResult{
'TOKEN_INVALID' = 10000,
'TOKEN_ILLEGAL' = 10001,
'REMOTE_LOGIN' = 10010,
'STATIC_ACCESS' = 20005
'STATIC_ACCESS' = 20005,
'SCANNING_STATE' = 10008
}
export enum VipType{
......
......@@ -82,6 +82,10 @@ const userLoginHandler = async ()=>{
localStorage.setItem('sure_invite',JSON.stringify(inviteInfo.value))
}
location.href='/space';
}else if(result.status=='ERROR') {
stopTimerHandler()
qrCode.value = ''
ElMessage.error({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