Explorar o código

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

Grnetsky hai 1 ano
pai
achega
e4304c2bb5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>