Compare commits

...

2 Commits

Author SHA1 Message Date
xingyy
665abb28d0 Merge branch 'xingyy' into dev 2025-03-12 11:25:14 +08:00
xingyy
ee8b3a5bce fix(login): 修复登录页面滑动退出功能
- 在 onLeave 函数中添加了对 moveX 参数的判断
- 如果 moveX 小于 0,则在 1 秒后隐藏登录页面
- 优化了用户体验,增加了反向滑动退出登录页面的功能
2025-03-12 11:24:46 +08:00

View File

@ -187,6 +187,11 @@ const onLeave =async (moveX, callback) => {
isShow.value=false isShow.value=false
}, 1000) }, 1000)
}else{
setTimeout(() => {
isShow.value=false
}, 1000)
} }