onReady() {
let that = this;
uni.getSystemInfo({
success(res) {
// 想要的都在res里
that.model = res.osName
}
})
},
uniapp 获取手机屏幕高度
最新推荐文章于 2024-04-11 11:47:05 发布
onReady() {
let that = this;
uni.getSystemInfo({
success(res) {
// 想要的都在res里
that.model = res.osName
}
})
},