Browse Source

[edit] highlight tab

wenliming 2 years ago
parent
commit
a3b2bb60fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/logic/background/denet.js

+ 1 - 1
src/logic/background/denet.js

@@ -15,7 +15,7 @@ export const closeAchPayNoticeHandler = async () => {
                         })});
                     }
                     if(tab) {
-                        chrome.tabs.highlight({ windowId: res.tab.windowId, tabs: res.tab.index })
+                        chrome.tabs.highlight({ windowId: tab.windowId, tabs: tab.index })
                     }
                 })
             }