?appVersion 是app端查询的数据信息
appWgtVersion 是浏览器端查询的数据信息
onLoad() {
const systemInfo = uni.getSystemInfoSync();
console.log(systemInfo);
// #ifdef H5
const uniAppVersion = systemInfo.appVersion;
// #endif
// #ifndef H5
const uniAppVersion = systemInfo.appWgtVersion;
// #endif
this.ver = uniAppVersion;
}