style: drop v prefix from latest version
Build / build (pull_request) Successful in 46s
Deploy / deploy (pull_request) Successful in 46s
Release / release (pull_request) Failing after 1s

This commit is contained in:
Timi
2026-11-07 18:01:10 +08:00
parent 9d28a5c6cb
commit 390833840a
+11 -12
View File
@@ -46,18 +46,17 @@
</template>
</t-cell>
</t-cell-group>
<t-cell-group v-if="updateSupported" title="版本更新" theme="card" v-entrance-transition>
<t-cell title="外壳版本" :note="nativeVersion || '—'" />
<t-cell title="系统版本" :note="currentVersion || '—'" />
<t-cell v-if="latestVersionText" title="最新版本" :note="latestVersionText" />
<t-cell title="自动更新">
<template #right-icon>
<t-switch :model-value="autoUpdate" @change="handleAutoUpdateChange" />
</template>
</t-cell>
</t-cell-group>
<!-- <div v-if="updateSupported" class="update-panel" v-entrance-transition>-->
<div class="update-panel" v-entrance-transition>
<t-cell-group v-if="updateSupported" title="版本更新" theme="card" v-entrance-transition>
<t-cell title="外壳版本" :note="nativeVersion || '—'" />
<t-cell title="系统版本" :note="currentVersion || '—'" />
<t-cell v-if="latestVersionText" title="最新版本" :note="latestVersionText" />
<t-cell title="自动更新">
<template #right-icon>
<t-switch :model-value="autoUpdate" @change="handleAutoUpdateChange" />
</template>
</t-cell>
</t-cell-group>
<div v-if="updateSupported" class="update-panel" v-entrance-transition>
<center-tips v-if="updateHint" v-text="updateHint" />
<t-button
v-if="updateStage === 'check'"