wenliming 2 rokov pred
rodič
commit
d11dc6a323
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      src/logic/content/twitter.js

+ 2 - 0
src/logic/content/twitter.js

@@ -1089,6 +1089,8 @@ export const getTweetUserFollowStatus = (params) => {
         }
 
         chrome.runtime.sendMessage({ actionType: 'CONTENT_GET_TWEET_USER_FOLLOW_STATUS_RES', data: list, tweetId, type: params.type, iframeId: params.iframeId }, () => { })
+    }).catch(err => {
+      chrome.runtime.sendMessage({ actionType: 'CONTENT_GET_TWEET_USER_FOLLOW_STATUS_RES', data: [], tweetId, type: params.type, iframeId: params.iframeId }, () => { })
     })
 }