uniapp获取唯一标识uuid
在主文件App.vue的 onLaunch 生命周期函数里添加调取hbuilder 5+APPJS 的方法 plus.screen 函数// #ifdef APP-PLUS || APP-PLUS-NVUEplus.screen.lockOrientation('portrait-primary'); //锁定竖屏
const devices = plus.device
uni.setStorageSync('devicesInfo', devices) // 存储设备信息
// #endif
页:
[1]