fix: 逻辑写反了,修复一下
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
检测到更新 {{ updateInfo.latest_version }} 请尽快更新
|
||||
</span>
|
||||
<span
|
||||
v-if="backendUpdateInfo?.if_latest"
|
||||
v-if="!backendUpdateInfo?.if_latest"
|
||||
class="update-hint"
|
||||
:title="getUpdateTooltip()"
|
||||
>
|
||||
@@ -63,7 +63,7 @@ const version = import.meta.env.VITE_APP_VERSION || '获取版本失败!'
|
||||
const updateInfo = ref<UpdateCheckOut | null>(null)
|
||||
const backendUpdateInfo = ref<VersionOut | null>(null)
|
||||
|
||||
const POLL_MS = 10 * 60 * 1000 // 10 分钟
|
||||
const POLL_MS = 1 * 60 * 1000 // 10 分钟
|
||||
let pollTimer: number | null = null
|
||||
const polling = ref(false)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user