You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
512 B
25 lines
512 B
<template>
|
|
<router-view />
|
|
</template>
|
|
|
|
<script setup>
|
|
import useSettingsStore from "@/store/modules/settings";
|
|
import { handleThemeStyle } from "@/utils/theme";
|
|
import autofit from "autofit.js";
|
|
onMounted(() => {
|
|
autofit.init(
|
|
{
|
|
designHeight: 1080,
|
|
designWidth: 1920,
|
|
renderDom: "#app",
|
|
resize: true,
|
|
},
|
|
false
|
|
); // 可关闭控制台运行提示输出
|
|
nextTick(() => {
|
|
// 初始化主题样式
|
|
handleThemeStyle(useSettingsStore().theme);
|
|
});
|
|
});
|
|
</script>
|