|
@@ -166,6 +166,7 @@ const handleCommon = (res, callback) => {
|
|
|
objectType: Report.objectType.tweetPostBinded
|
|
|
}
|
|
|
})
|
|
|
+ state.init()
|
|
|
})
|
|
|
}
|
|
|
handleStatus(callback)
|
|
@@ -282,7 +283,8 @@ function onRuntimeMsg() {
|
|
|
chrome.runtime.onMessage.addListener((req, sender, sendResponse) => {
|
|
|
switch (req.actionType) {
|
|
|
case 'CONTENT_GET_TWEET_TXT':
|
|
|
- if (req.data.tweet_Id == state.tweetId) {
|
|
|
+ if (req.data.tweet_Id == state.tweetId && !state.detail.postSrcContent) {
|
|
|
+ state.detail.postSrcContent = req.data.txt
|
|
|
reSetBindPostContent({
|
|
|
postId: state.postId || '',
|
|
|
postSrcContent: req.data.txt,
|