接口联调

This commit is contained in:
xuli3099
2025-08-14 14:01:54 +08:00
parent 28f24a90fd
commit a9141dfb6b
5 changed files with 92 additions and 16 deletions

View File

@@ -109,6 +109,7 @@ const userStore = useUserStore()
// 1.头部导航栏
const navBarPaddingTop = ref(0);
let appVersion = ref("1.0.0");//当前版本号
let newVersion = ref("1.0.0");//新版本号
let isCurrent = ref(undefined);//是否是当前版本 1-是 2-否
let systemInfo = uni.getSystemInfoSync();
onLoad(async(opt) => {
@@ -186,8 +187,6 @@ const getVersion = async ()=>{
// #endif
os: formatIOS(systemInfo.osName),//操作系统 Android IOS
}
// 当前手机版本
appVersion.value = param.appVersion;
let data = await versionCheck(param);
isCurrent.value = data.isCurrent;
}