fix: 矫正后端需要更新的逻辑

This commit is contained in:
DLmaster361
2025-09-09 23:14:29 +08:00
parent 7237523237
commit e3c0add012
4 changed files with 6 additions and 6 deletions

View File

@@ -16,9 +16,9 @@ export type VersionOut = {
*/
message?: string;
/**
* 后端代码是否为最
* 后端代码是否需要更
*/
if_latest: boolean;
if_need_update: boolean;
/**
* 后端代码当前哈希值
*/

View File

@@ -13,7 +13,7 @@
检测到更新 {{ updateInfo.latest_version }} 请尽快更新
</span>
<span
v-if="!backendUpdateInfo?.if_latest"
v-if="backendUpdateInfo?.if_need_update"
class="update-hint"
:title="getUpdateTooltip()"
>