diff --git a/src/client/app/init.ts b/src/client/app/init.ts index ed0fe4826d..560ab1a096 100644 --- a/src/client/app/init.ts +++ b/src/client/app/init.ts @@ -102,7 +102,9 @@ export default (callback: (launch: (router: VueRouter, api?: (os: MiOS) => API) //#region Dark/Light Vue.mixin({ data() { - _unwatchDarkmode_: null + return { + _unwatchDarkmode_: null + }; }, mounted() { const apply = v => {