Kaynağa Gözat

[edit][format]

zhangwei 2 yıl önce
ebeveyn
işleme
76699a57bc
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      src/logic/background/twitter.js

+ 3 - 3
src/logic/background/twitter.js

@@ -495,7 +495,7 @@ export function getMessageInfo() {
 }
 
 export function readTaskAllMsg({ msgType }, cb) {
-    try{
+    try {
         fetchReadTaskAllMsg({
             msgType // 1:任务红包 2:钱包明细
         }).then(res => {
@@ -513,7 +513,7 @@ export function readTaskAllMsg({ msgType }, cb) {
 }
 
 export const onDisconnectHandler = (port) => {
-    try{
+    try {
         if (port.name === "popup" || port.name === "popup_transactions") {
             let msgType = port.name === "popup" ? 1 : 2;
             readTaskAllMsg({ msgType }, () => {
@@ -530,7 +530,7 @@ export const onDisconnectHandler = (port) => {
 }
 
 export const injectExtensionPopup = (tab) => {
-    try{
+    try {
         sendActivetabMessage({
             actionType: 'BG_INJECT_EXTENSION_POPUP'
         });