Sfoglia il codice sorgente

fix:修改定时器时间从而修改主题加载失败的bug

Grnetsky 1 anno fa
parent
commit
e4304c2bb5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -15,7 +15,7 @@ onBeforeMount(() => {
   setTimeout(() => {
     registerTheme();
     changeTheme('le-dark');
-  }, 1000);
+  }, 0);
 });
 </script>
 <style lang="postcss" scoped></style>