Skip to content

Commit

Permalink
fix: 修复 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
moshangqi committed Aug 3, 2023
1 parent 2a158d9 commit 46726ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/background/browser-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import Chrome from '@/core/chrome';
import { GLOBAL_EVENTS } from '@/events';

function remindToRefreshPage(tabId: number) {
const msg = __i18n('你需要重新加载该页面才能剪藏。请重新加载页面后再试一次')
const msg = __i18n('你需要重新加载该页面才能剪藏。请重新加载页面后再试一次');
Chrome.scripting.executeScript({
target: { tabId },
args: [ { msg } ],
args: [{ msg }],
func: (args: { msg: string }) => {
window.alert(args.msg);
}
window.alert(args.msg); // eslint-disable-line
},
});
}

Expand Down

0 comments on commit 46726ad

Please sign in to comment.