From 0221d8b8fe2d87028e45d9613d31ff333a57729e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Sat, 29 Dec 2018 17:53:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=9F=B3=E4=B9=90=E6=89=AB?= =?UTF-8?q?=E6=8F=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/modules/local.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/modules/local.js b/js/modules/local.js index fa10ff3..3802e84 100644 --- a/js/modules/local.js +++ b/js/modules/local.js @@ -181,10 +181,12 @@ export default Anot({ } if (appInit.musicPath) { this.__load__ = layer.load(4) - this.__LIST__ = fs.ls('/Volumes/extends/music') + this.__LIST__ = fs.ls(appInit.musicPath) this.__NEW_NUM__ = 0 ev.target.textContent = '正在扫描, 请稍候...' this.__checkSong__(ev.target) + } else { + layer.toast('请先设置音乐目录', 'error') } }, closeEdit() {