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