|
@@ -69,6 +69,7 @@ const readMessage = (id = 0) => {
|
|
|
chrome.runtime.onMessage.addListener((req, sender, sendResponse) => {
|
|
|
if (req.actionType == 'BACK_UNREAD_MESSAGE') {
|
|
|
let data = req.data.data || []
|
|
|
+ console.log('BACK_UNREAD_MESSAGE', data)
|
|
|
if (req.data.code == 0 && data.length > 0) {
|
|
|
data.forEach((item) => {
|
|
|
if (state.list.filter((filter_item) => { return filter_item.id == item.id }).length == 0) {
|