fix radio button not checked

This commit is contained in:
LouisLam 2021-08-09 18:46:57 +08:00
parent b69185ee9e
commit 550c9703a6
1 changed files with 5 additions and 0 deletions

View File

@ -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;
})
},