Skip to content

Commit 53b4965

Browse files
committed
fix: 将'生成YAML'按钮文本修改为'预览YAML'
1 parent 0b0b90f commit 53b4965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ChallengeContributePage/components/YamlPreviewSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ const YamlPreviewSection: React.FC<YamlPreviewSectionProps> = ({
5656
onClick={showModal}
5757
icon={<CopyOutlined />}
5858
>
59-
生成YAML
59+
预览YAML
6060
</Button>
6161
</div>
6262

6363
<Modal
64-
title="生成的YAML代码"
64+
title="预览YAML代码"
6565
open={isModalVisible}
6666
onCancel={handleCancel}
6767
width={800}

0 commit comments

Comments
 (0)