fix: 模板中通过变量引用 __APP_VERSION__ 全局常量

This commit is contained in:
2026-07-12 00:40:49 +08:00
parent faedfd7fa3
commit c6265fdaf5
@@ -3,6 +3,7 @@ import { computed } from 'vue'
import { useConnectionStore } from '@renderer/stores/connection'
import { useI18n } from '@renderer/i18n'
const appVersion = __APP_VERSION__
const connStore = useConnectionStore()
const { t } = useI18n()
@@ -30,7 +31,7 @@ const statusClass = computed(() => {
<span class="status-dot" :class="statusClass" />
{{ statusText }}
</span>
<span class="statusbar-right">JRedisDesktop v{{ __APP_VERSION__ }}</span>
<span class="statusbar-right">JRedisDesktop v{{ appVersion }}</span>
</footer>
</template>