|
@@ -2,7 +2,7 @@ import { fetchTtwitterRequestToken, fetchTwitterLogin, fetchTwitterShortUrl, fet
|
|
|
import { LANDING_PAGE, LANDING_PAGE_MID, setChromeStorage, setChromeCookie, getChromeCookie, getChromeStorage, removeChromeCookie } from '@/uilts/chromeExtension.js'
|
|
|
import { guid } from '@/uilts/help.js'
|
|
|
import { pageUrl, discordAuthRedirectUri } from '@/http/configAPI'
|
|
|
-import { setContentMessage} from '@/logic/background/help.js'
|
|
|
+import { setContentMessage } from '@/logic/background/help.js'
|
|
|
|
|
|
let authToken = ''
|
|
|
let consumerKey = ''
|
|
@@ -436,7 +436,7 @@ export const getLuckMessage = () => {
|
|
|
fetchGetAllUnReadNotices({})
|
|
|
.then((res) => {
|
|
|
// 向选中的content发送消息
|
|
|
- setContentMessage(res)
|
|
|
+ setContentMessage({ actionType: 'BACK_UNREAD_MESSAGE', data: res })
|
|
|
})
|
|
|
}
|
|
|
|