12312
This commit is contained in:
parent
6b37fffaa1
commit
f1e42b69b9
@ -24,11 +24,9 @@ if(res.data.status===2){
|
||||
}
|
||||
if(res.status===401){
|
||||
if (!document.cookie){
|
||||
window.location.href = `${
|
||||
import.meta.env.VITE_BASEURL
|
||||
}/api/appointment/wx?notifyUrl=${encodeURIComponent(
|
||||
window.location.href
|
||||
)}`
|
||||
setTimeout(()=>{
|
||||
window.location.href = `${import.meta.env.VITE_BASEURL}/api/appointment/wx?notifyUrl=${encodeURIComponent(window.location.href)}`
|
||||
},10000)
|
||||
}
|
||||
|
||||
/*cWxApi()*/
|
||||
|
Loading…
Reference in New Issue
Block a user