Compare commits
No commits in common. "aadb4da5f720056ba643b6dfa6aad4f9c2e16418" and "8a998fdb1f48ff7d760fc4bfeb22a95e6f6bfd26" have entirely different histories.
aadb4da5f7
...
8a998fdb1f
@ -198,12 +198,8 @@ const onLeave =async (moveX, callback) => {
|
|||||||
if (res.status===408){
|
if (res.status===408){
|
||||||
callback(false)
|
callback(false)
|
||||||
getCode()
|
getCode()
|
||||||
message.warning(res.msg)
|
}else{
|
||||||
}else if ([0,407].includes(res.status)){
|
|
||||||
callback(true)
|
callback(true)
|
||||||
if (res.status===407){
|
|
||||||
message.warning(res.msg)
|
|
||||||
}
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
pane.value = 1
|
pane.value = 1
|
||||||
vanSwipeRef.value?.swipeTo(pane.value)
|
vanSwipeRef.value?.swipeTo(pane.value)
|
||||||
@ -211,12 +207,6 @@ const onLeave =async (moveX, callback) => {
|
|||||||
isShow.value=false
|
isShow.value=false
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|
||||||
}else {
|
|
||||||
callback(true)
|
|
||||||
setTimeout(() => {
|
|
||||||
isShow.value=false
|
|
||||||
},1000)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user