修改报错

This commit is contained in:
duan
2025-01-20 10:55:55 +08:00
parent c05ee20821
commit ec35f4bfb1
2 changed files with 2 additions and 1 deletions

View File

@@ -159,6 +159,7 @@
//请求后台接口 解析数据 对比版本
selectNewApp().then(res => {
res = res[0];
console.log(uni.getSystemInfoSync().platform == 'ios',1101)
let version;
if (uni.getSystemInfoSync().platform == 'android') {
version = res.version