|
|
@ -121,6 +121,10 @@ export default {
|
|
|
|
this.$root.getSocket().emit("getSettings", (res) => {
|
|
|
|
this.$root.getSocket().emit("getSettings", (res) => {
|
|
|
|
this.settings = res.data;
|
|
|
|
this.settings = res.data;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.settings.checkUpdate === undefined) {
|
|
|
|
|
|
|
|
this.settings.checkUpdate = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (this.settings.searchEngineIndex === undefined) {
|
|
|
|
if (this.settings.searchEngineIndex === undefined) {
|
|
|
|
this.settings.searchEngineIndex = false;
|
|
|
|
this.settings.searchEngineIndex = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|