修复双击文件夹会显示所有音乐的问题

This commit is contained in:
2020-10-26 23:19:20 +08:00
parent 806b257e81
commit dbe2b3fe1c
3 changed files with 17 additions and 9 deletions

View File

@@ -119,7 +119,7 @@
}
} else if (obj.event === 'play') {
console.log(data.file)
$.get(localhost + "/nas/music/list.do?token=PlVodzYhvxRQbOHKakpKs2dvnoc43Cnk&path=" + new Base64().encode(data.file), function (obj) {
$.get(localhost + "/nas/music/list.do?token=PlVodzYhvxRQbOHKakpKs2dvnoc43Cnk&type=all&path=" + new Base64().encode(data.file), function (obj) {
let json = JSON.parse(obj);
console.log(json)
if(json.code===0){