This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
appcat
/
sonist
Archived
1
0
Fork 0

修复音乐扫描

2.x
宇天 2018-12-29 17:53:02 +08:00
parent 730b4c204d
commit 0221d8b8fe
1 changed files with 3 additions and 1 deletions

View File

@ -181,10 +181,12 @@ export default Anot({
} }
if (appInit.musicPath) { if (appInit.musicPath) {
this.__load__ = layer.load(4) this.__load__ = layer.load(4)
this.__LIST__ = fs.ls('/Volumes/extends/music') this.__LIST__ = fs.ls(appInit.musicPath)
this.__NEW_NUM__ = 0 this.__NEW_NUM__ = 0
ev.target.textContent = '正在扫描, 请稍候...' ev.target.textContent = '正在扫描, 请稍候...'
this.__checkSong__(ev.target) this.__checkSong__(ev.target)
} else {
layer.toast('请先设置音乐目录', 'error')
} }
}, },
closeEdit() { closeEdit() {