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

@@ -124,7 +124,7 @@ export function TemplatePreview({
<Alert
type="warning"
showIcon
message="页面预览暂不可用"
title="页面预览暂不可用"
description="请确认模板预览资源已构建并发布,或本地预览服务正在运行。"
/>
);
@@ -150,7 +150,7 @@ export function TemplatePreview({
</div>
) : null}
{error ? (
<Alert type="error" showIcon message="页面预览加载失败" description={error} />
<Alert type="error" showIcon title="页面预览加载失败" description={error} />
) : null}
<iframe
key={url}