refactor: 迁移 Ant Design 6 弃用的 Alert 与 Space 属性

This commit is contained in:
que01 committed 2026-10-21 10:30:03 +08:00
1 parent ca1b873a50
commit 3a0099e674
18 files changed
+38 -43

No files matched your search

@@ -78,7 +78,7 @@ export function TemplatePackagePreviewModal({
<Alert
type="info"
showIcon
message="模板演示预览"
title="模板演示预览"
description="演示内容不属于真实品牌,咨询提交和客户记录读取已禁用。"
/>
{!industry ? (
@@ -92,12 +92,7 @@ export function TemplatePackagePreviewModal({
{data ? (
<>
{data.preview.diagnostics.map((diagnostic) => (
<Alert
key={diagnostic.code}
type="warning"
showIcon
message={diagnostic.message}
/>
<Alert key={diagnostic.code} type="warning" showIcon title={diagnostic.message} />
))}
<Typography.Text type="secondary">
演示数据: