Parcourir la source

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

Grnetsky il y a 1 an
Parent
commit
e4304c2bb5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>