|
@@ -79,7 +79,9 @@ export default {
|
|
beforeMount() {
|
|
beforeMount() {
|
|
const nightmode =
|
|
const nightmode =
|
|
false || JSON.parse(localStorage.getItem("nightmode"));
|
|
false || JSON.parse(localStorage.getItem("nightmode"));
|
|
|
|
+
|
|
this.changeNightmode(nightmode);
|
|
this.changeNightmode(nightmode);
|
|
|
|
+
|
|
if (nightmode) this.enableNightMode();
|
|
if (nightmode) this.enableNightMode();
|
|
else this.disableNightMode();
|
|
else this.disableNightMode();
|
|
},
|
|
},
|