ソースを参照

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

Grnetsky 1 年間 前
コミット
e4304c2bb5
1 ファイル変更1 行追加1 行削除
  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>