diff --git a/README.md b/README.md index ebaddef..4bcd28e 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ ### Firefox -1. [Releases](https://github.com/LightAPIs/free-export-bookmarks/releases/latest) -2. [Mozilla Add-ons](https://addons.mozilla.org/zh-CN/firefox/addon/free-export-bookmarks/) +1. [Mozilla Add-ons](https://addons.mozilla.org/zh-CN/firefox/addon/free-export-bookmarks/) +2. [Releases](https://github.com/LightAPIs/free-export-bookmarks/releases/latest) ## 开发编译 diff --git a/src/index/App/App.vue b/src/index/App/App.vue index 3db458d..2e843d8 100644 --- a/src/index/App/App.vue +++ b/src/index/App/App.vue @@ -368,10 +368,10 @@ export default { return data.title.indexOf(value) !== -1; }, handleChange() { - const { settings } = this; + const { settings, isChrome } = this; chrome.storage.local.set( { - settings, + settings: isChrome ? settings : Object.assign({}, settings), }, () => { console.log('The settings have been set.');