diff --git a/src/components/Setting.vue b/src/components/Setting.vue index 83b96a0..9f7ec60 100644 --- a/src/components/Setting.vue +++ b/src/components/Setting.vue @@ -47,7 +47,7 @@
@@ -200,6 +200,12 @@ export default { this.show.site = false }) }, + updateSearchOption (e) { + this.d.searchAllSites = this.setting.searchAllSites + setting.update(this.d).then(res => { + this.setting = this.d + }) + }, expSites () { const arr = [...this.sitesList] const str = JSON.stringify(arr)