diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..0eb9e82 --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +VITE_API_BASE_URL = https://htserver.wdg.cloudns.ch/api/ diff --git a/src/api/announcement.ts b/src/api/announcement.ts index 54d64f9..88326ce 100644 --- a/src/api/announcement.ts +++ b/src/api/announcement.ts @@ -10,6 +10,7 @@ export interface Announcement { MaxPresentVersion: string | null Severity: number Title: string + Distribution: string | null } /** 公告列表响应数据类型 */ @@ -38,6 +39,7 @@ export interface CreateAnnouncementRequest { Locale?: string | null MaxPresentVersion?: string | null Severity?: number | null + Distribution?: string | null } /** 创建公告响应数据类型 */ diff --git a/src/views/announcement/index.vue b/src/views/announcement/index.vue index 42ef60f..17041d1 100644 --- a/src/views/announcement/index.vue +++ b/src/views/announcement/index.vue @@ -28,6 +28,14 @@ + + +