Browse Source

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

Grnetsky 1 year ago
parent
commit
e4304c2bb5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

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