音量、播放模式等设置弹出式按钮在鼠标移到按钮上时将自动弹出设置内容

This commit is contained in:
lyswhut
2023-03-05 14:30:15 +08:00
parent d4d94ddbee
commit fe259747dc
3 changed files with 38 additions and 10 deletions
@@ -28,9 +28,10 @@ export default {
const dom_btn = ref<HTMLElement | null>(null)
const handleShowPopup = (evt) => {
if (visible.value) evt.stopPropagation()
if (visible.value) handlMsLeave()
else handlMsEnter()
if (visible.value) {
evt.stopPropagation()
handlMsLeave()
} else handlMsEnter()
}
const {
nowPlayTimeStr,