Merge pull request 'zdg' (#387) from zdg into main

Reviewed-on: #387
This commit is contained in:
zhengdegang 2024-10-31 20:17:23 +08:00
commit c3d6c2a57b
1 changed files with 8 additions and 8 deletions

View File

@ -207,14 +207,14 @@ const sideMouse = e => {
return return
} }
mouseChange(type == 'mouseleave') mouseChange(type == 'mouseleave')
// // //
if (type == 'mouseleave') { // if (type == 'mouseleave') {
timingSide = setTimeout(() => { // timingSide = setTimeout(() => {
sideVueRef.value.closeActive() // sideVueRef.value.closeActive()
}, 500) // }, 500)
} else { // // } else { //
if (!!timingSide) clearTimeout(timingSide) // if (!!timingSide) clearTimeout(timingSide)
} // }
} }
// : // :
const sideChange = async o => { const sideChange = async o => {