const systemInfo = uni.getSystemInfoSync();
console.log(systemInfo);
uni.showModal({
title: '宿主语言',
content: systemInfo.hostLanguage
})
uni-app - - - - - 小程序获取宿主语言
最新推荐文章于 2024-12-13 19:13:32 发布
const systemInfo = uni.getSystemInfoSync();
console.log(systemInfo);
uni.showModal({
title: '宿主语言',
content: systemInfo.hostLanguage
})