const systemInfo = uni.getSystemInfoSync();
console.log(systemInfo);
uni.showModal({
title: '宿主语言',
content: systemInfo.hostLanguage
})
官网地址:【uni-app getSystemInfoSync】
const systemInfo = uni.getSystemInfoSync();
console.log(systemInfo);
uni.showModal({
title: '宿主语言',
content: systemInfo.hostLanguage
})
官网地址:【uni-app getSystemInfoSync】