diff --git a/public/index.html b/public/index.html index 147c51e..bf54f97 100644 --- a/public/index.html +++ b/public/index.html @@ -56,7 +56,9 @@ }) musicList.on('add', item => { console.log('添加音乐', item) - store.put(item) + if (item.arrayBuffer) { + store.add(item) + } }) // 初始化客户端列表