mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/lyswhut/lx-music-desktop.git
synced 2026-09-20 08:04:00 +08:00
修复潜在报错
This commit is contained in:
@@ -15,7 +15,7 @@ export default ({ isPlay, lyric }) => {
|
||||
let isSetedLines = false
|
||||
|
||||
const handleScrollLrc = () => {
|
||||
if (!dom_lines?.length) return
|
||||
if (!dom_lines?.length || !dom_lyric.value) return
|
||||
if (cancelScrollFn) {
|
||||
cancelScrollFn()
|
||||
cancelScrollFn = null
|
||||
|
||||
Reference in New Issue
Block a user