|
@@ -37,7 +37,8 @@ const checkVersion = () => {
|
|
|
headers: { ['tenant-id']: tenantId },
|
|
|
cache: 'no-store' // 禁用缓存
|
|
|
}).then((res) => {
|
|
|
- if (res?.data?.data === version) {
|
|
|
+ // 接口报错和版本一致不弹Confirm
|
|
|
+ if (!res?.data?.data || res.data.data === version) {
|
|
|
return
|
|
|
}
|
|
|
if (ConfirmDone) {
|