fix radio button not checked
This commit is contained in:
parent
b69185ee9e
commit
550c9703a6
|
@ -206,6 +206,11 @@ export default {
|
|||
loadSettings() {
|
||||
this.$root.getSocket().emit("getSettings", (res) => {
|
||||
this.settings = res.data;
|
||||
|
||||
if (this.settings.searchEngineIndex === undefined) {
|
||||
this.settings.searchEngineIndex = false;
|
||||
}
|
||||
|
||||
this.loaded = true;
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue