diff --git a/frontend/src/api/admin.ts b/frontend/src/api/admin.ts index 06014fb..7a6c2e2 100644 --- a/frontend/src/api/admin.ts +++ b/frontend/src/api/admin.ts @@ -166,6 +166,8 @@ export interface CheckUpdateResponse { latest_version: string | null has_update: boolean release_url: string | null + release_notes: string | null + published_at: string | null error: string | null } diff --git a/frontend/src/components/common/UpdateDialog.vue b/frontend/src/components/common/UpdateDialog.vue index 75f7b7d..8e75670 100644 --- a/frontend/src/components/common/UpdateDialog.vue +++ b/frontend/src/components/common/UpdateDialog.vue @@ -17,7 +17,7 @@ -
+
v{{ currentVersion }} @@ -39,8 +39,33 @@
- -

+ +

+ 发布于 {{ formattedPublishedAt }} +

+ + +
+
+ 更新内容 +
+
+
+ + +

新版本已发布,建议更新以获得最新功能和安全修复

@@ -66,16 +91,20 @@