提交说明

This commit is contained in:
QWQLwToo
2026-06-26 14:34:25 +08:00
parent 2171b933eb
commit f525e5f3ba
18 changed files with 28 additions and 31 deletions
@@ -25,7 +25,6 @@ export function usePortalState() {
const availability = computed(() => sourceCount.value ? Math.round((healthyCount.value / sourceCount.value) * 100) : 0);
const downloadUrl = computed(() => releases.value?.download_url || bootstrap.value?.release?.download_url || packages.value[0]?.url || "");
const appVersion = computed(() => releases.value?.app_version || bootstrap.value?.release?.app_version || latestNotice.value?.version || "未发布");
const databaseStatus = computed(() => bootstrap.value?.health?.database?.activeProvider || bootstrap.value?.health?.database?.configProvider || "-");
const serviceVersion = computed(() => bootstrap.value?.serviceVersion || "-");
async function load(force = false) {
@@ -68,7 +67,6 @@ export function usePortalState() {
availability,
downloadUrl,
appVersion,
databaseStatus,
serviceVersion,
load,
sourceStatus,