diff --git a/src/views/home/codeQR.vue b/src/views/home/codeQR.vue index 71ebe3f..494d209 100644 --- a/src/views/home/codeQR.vue +++ b/src/views/home/codeQR.vue @@ -23,7 +23,7 @@ function getVersionInfo() { pinias.showLoading(); appVersion().then((res) => { - versionInfo.value = res.data.data; + versionInfo.value = res.data; checkNewVersion(); //检测App是否有更新 pinias.hideLoading(); }); @@ -31,7 +31,7 @@ // 检测App是否有更新; function checkNewVersion() { appVersionCheck().then((res) => { - ifNew.value = res.data.data.buildHaveNewVersion; + ifNew.value = res.data.buildHaveNewVersion; }); }