This commit is contained in:
Ls
2026-04-25 17:12:55 +08:00
parent 62d5562ca7
commit 5fbf0cbf31
6 changed files with 445 additions and 113 deletions

View File

@@ -13,9 +13,11 @@
// 可以在这里进行全局初始化
const appStore = useAppStore()
import { Loading } from 'vant'
// 初始化应用配置
onMounted(() => {
// 初始化屏幕尺寸
if (typeof window !== 'undefined') {
appStore.updateScreenSize(window.innerWidth, window.innerHeight)