fix: 公告优化

This commit is contained in:
Gsh
2025-11-16 22:39:42 +08:00
parent f875617de1
commit 3c5e575e9b
4 changed files with 38 additions and 66 deletions

View File

@@ -52,7 +52,7 @@ function handleClose(type: CloseType) {
announcementStore.closeDialog(type);
const messages = {
today: '今日内不再显示',
today: '一周内不再显示',
permanent: '公告已关闭',
};
@@ -199,7 +199,7 @@ function getActivityStatus(activity: AnnouncementLogDto): 'active' | 'expired' {
<template #footer>
<div class="dialog-footer">
<el-button @click="handleClose('today')">
今日关闭
关闭一周
</el-button>
<el-button type="primary" @click="handleClose('permanent')">
关闭公告