优化:白名单菜单更名为限制策略

菜单名称调整为限制策略,页面标题同步为限制策略与白名单,并更新相关配置提示,准确表达全局阈值与白名单管理能力。
This commit is contained in:
linkeyu
2026-07-31 15:01:56 +08:00
parent be6fa0aa9e
commit 9e150c64aa
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ function SceneConfig({ scene }: { scene: Scene }) {
广
{scene === 'coupon' &&
'领券引导视频的播放次数上限请在「监控审计 → 白名单」中调整。'}
'领券引导视频的播放次数上限请在「监控审计 → 限制策略」中调整。'}
</p>
{loading || !cfg ? (
<Spin style={{ display: 'block', margin: '24px 0' }} />
+2 -2
View File
@@ -4,6 +4,7 @@ import { useEffect, useRef, useState } from 'react';
import { usePathname, useRouter } from 'next/navigation';
import {
BarChartOutlined,
ControlOutlined,
DashboardOutlined,
DatabaseOutlined,
FileSearchOutlined,
@@ -18,7 +19,6 @@ import {
ProfileOutlined,
SafetyCertificateOutlined,
SecurityScanOutlined,
StopOutlined,
SettingOutlined,
ShareAltOutlined,
TeamOutlined,
@@ -106,7 +106,7 @@ const NAV_GROUPS: NavGroup[] = [
{ key: '/analytics-health', icon: <LineChartOutlined />, label: '埋点成功率' },
{ key: '/event-logs', icon: <DatabaseOutlined />, label: '埋点日志' },
{ key: '/audit-logs', icon: <FileSearchOutlined />, label: '审计日志' },
{ key: '/limit-whitelist', icon: <StopOutlined />, label: '白名单' },
{ key: '/limit-whitelist', icon: <ControlOutlined />, label: '限制策略' },
],
},
];
+1 -1
View File
@@ -764,7 +764,7 @@ export default function LimitWhitelistPage() {
<Space align="start" style={{ width: '100%', marginBottom: 16 }}>
<div>
<Title level={2} style={{ marginBottom: 4 }}>
</Title>
<Text type="secondary">