From 550c9703a6c9f2df9f9735027f3af69387b8b3f9 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Mon, 9 Aug 2021 18:46:57 +0800 Subject: [PATCH] fix radio button not checked --- src/pages/Settings.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue index 56d307d9b..ba959c5ca 100644 --- a/src/pages/Settings.vue +++ b/src/pages/Settings.vue @@ -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; }) },