From dd4a8422c932628f62e773d9ba23d197d5fd07fc Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Wed, 8 Dec 2021 18:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/handle.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/handle.js b/js/handle.js index dd17189..0128744 100644 --- a/js/handle.js +++ b/js/handle.js @@ -11,7 +11,7 @@ let autoDel = false let virtualPeople = true // 虚拟人物数量 -let virtualNum = 50 +let virtualNum = 0 // 虚拟人物名字列表 let virtualList = ['一只小绵飏','未来狗头耀武扬威什么','大牛逼玩意','长呆毛的呆猫','区实验川大聪明', @@ -30,6 +30,7 @@ let virtualWordList = ['哈哈哈', '我又来了!', '大爷闪亮登场', '真 // 礼物所需电池 let giftObj = { + '小心心': 9999, '粉丝团灯牌': 1, '牛哇牛哇': 1, '白银宝盒': 10, @@ -226,9 +227,12 @@ function receiveMessage(event) // 送礼物列表 let giftList = dataList.gift + console.log(giftList, '获取的礼物列表') + console.log(userCell, '用户电池记录1') + if (giftList.length > 0) { updateUserCell(giftList) - console.log(userCell, '用户电池记录') + console.log(userCell, '用户电池记录2') } // console.log(adminList, '舰长列表')