feat: show app and content version separately

This commit is contained in:
Timi
2026-11-07 15:15:36 +08:00
parent c204cad375
commit deb93e1af0
3 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -48,7 +48,8 @@
</t-cell>
</t-cell-group>
<t-cell-group title="版本更新" theme="card" v-entrance-transition>
<t-cell title="当前版本" :note="currentVersion || '—'" />
<t-cell title="App 版本" :note="nativeVersion || '—'" />
<t-cell title="内容版本" :note="currentVersion || '—'" />
<t-cell title="自动检查更新">
<template #right-icon>
<t-switch :model-value="autoUpdate" @change="handleAutoUpdateChange" />
@@ -143,6 +144,7 @@ async function playSettingSoundPreview(type: "scanSuccess" | "registerSuccess"):
const {
supported: updateSupported,
currentVersion,
nativeVersion,
latest,
checking,
downloading,