refactor: 更新应用配置与样式依赖
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import { onLaunch, onShow } from "@dcloudio/uni-app";
|
||||
import { useThemeStore } from "@/store";
|
||||
|
||||
onLaunch(() => {
|
||||
const themeStore = useThemeStore();
|
||||
themeStore.initTheme();
|
||||
});
|
||||
|
||||
onShow(() => {});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user