wip: 临时提交

This commit is contained in:
ray
2025-05-29 08:28:46 +08:00
parent 9fba279490
commit 8962f01b09
23 changed files with 1457 additions and 2372 deletions

View File

@@ -1,14 +1,14 @@
<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
import { useThemeStore } from "@/store";
import { useTheme } from "@/composables/useTheme";
// 主题初始化
const themeStore = useThemeStore();
// 使用主题 composable
const { initTheme } = useTheme();
onLaunch(() => {
console.log("App Launch");
// 初始化主题
themeStore.initTheme();
initTheme();
});
onShow(() => {