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, '舰长列表')