From 0efe27f4598572c0359f08cfe121ef88031d5c29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Sat, 30 Sep 2023 18:48:27 +0800 Subject: [PATCH] DEBUG --- public/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) + } }) // 初始化客户端列表