消息
This commit is contained in:
@@ -13,9 +13,11 @@
|
||||
|
||||
// 可以在这里进行全局初始化
|
||||
const appStore = useAppStore()
|
||||
|
||||
import { Loading } from 'vant'
|
||||
// 初始化应用配置
|
||||
onMounted(() => {
|
||||
|
||||
|
||||
// 初始化屏幕尺寸
|
||||
if (typeof window !== 'undefined') {
|
||||
appStore.updateScreenSize(window.innerWidth, window.innerHeight)
|
||||
|
||||
Reference in New Issue
Block a user