代码初始化

This commit is contained in:
tianyongbao
2025-04-24 17:33:56 +08:00
commit 5e0d04bfd3
362 changed files with 30414 additions and 0 deletions

19
src/App.vue Normal file
View File

@@ -0,0 +1,19 @@
<template>
<router-view />
</template>
<script setup>
import useScreenStore from "@/store/modules/screen";
const screenStore = useScreenStore();
import { onMounted } from "vue";
onMounted(() => {
const theme = screenStore.theme;
screenStore.toggleTheme(theme);
window.document.documentElement.setAttribute("data-theme", theme);
});
</script>
<style scoped></style>