Files
yg-point-mall/src/App.vue

16 lines
299 B
Vue
Raw Normal View History

2023-05-09 15:21:05 +08:00
<template>
<router-view />
</template>
<script setup>
2023-05-17 09:56:28 +08:00
import useSettingsStore from "@/store/modules/settings";
import { handleThemeStyle } from "@/utils/theme";
2023-05-09 15:21:05 +08:00
onMounted(() => {
nextTick(() => {
// 初始化主题样式
2023-05-17 09:56:28 +08:00
handleThemeStyle(useSettingsStore().theme);
});
});
2023-05-09 15:21:05 +08:00
</script>