diff --git a/frontend/admin-web/src/app/(dashboard)/notifications/page.tsx b/frontend/admin-web/src/app/(dashboard)/notifications/page.tsx index de524ff5..b4f32446 100644 --- a/frontend/admin-web/src/app/(dashboard)/notifications/page.tsx +++ b/frontend/admin-web/src/app/(dashboard)/notifications/page.tsx @@ -138,6 +138,8 @@ export default function NotificationsPage() { publishedAt: '', expiresAt: '', }); + // 刷新可用标签列表,确保显示最新创建的标签 + loadTags(); setShowModal(true); }; @@ -500,11 +502,28 @@ export default function NotificationsPage() { {/* 按标签筛选 */} {formData.targetType === 'BY_TAG' && (
- +
{availableTags.length === 0 ? (
- 暂无可用标签,请先在"用户标签"中创建 + 暂无可用标签,请先在"用户标签"中创建(需勾选"可用于广告定向")
) : (
@@ -540,13 +559,13 @@ export default function NotificationsPage() { {/* 指定用户 */} {formData.targetType === 'SPECIFIC' && (
- +