Skip to content

Commit

Permalink
修复选项页无法保存的 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
T authored and T committed Apr 23, 2023
1 parent ed4d07f commit f44e409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/options/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let options = {
window.onload = async function () {
let data = await chrome.storage.sync.get("options");
if (data.options) {
let options = data.options
options = data.options
} else {
chrome.storage.sync.set({ options })
}
Expand Down

0 comments on commit f44e409

Please sign in to comment.