Merge branch 'xingyy' into dev
This commit is contained in:
commit
aadb4da5f7
@ -198,8 +198,12 @@ const onLeave =async (moveX, callback) => {
|
||||
if (res.status===408){
|
||||
callback(false)
|
||||
getCode()
|
||||
}else{
|
||||
message.warning(res.msg)
|
||||
}else if ([0,407].includes(res.status)){
|
||||
callback(true)
|
||||
if (res.status===407){
|
||||
message.warning(res.msg)
|
||||
}
|
||||
setTimeout(() => {
|
||||
pane.value = 1
|
||||
vanSwipeRef.value?.swipeTo(pane.value)
|
||||
@ -207,6 +211,12 @@ const onLeave =async (moveX, callback) => {
|
||||
isShow.value=false
|
||||
}, 1000)
|
||||
|
||||
}else {
|
||||
callback(true)
|
||||
setTimeout(() => {
|
||||
isShow.value=false
|
||||
},1000)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user