ChangelogDecember 20, 2025componentscustomizationCard 和 Icon 组件中的自定义 SVG 图标 Card 和 Icon 组件支持 SVG 文件的相对路径。使用像 ./images/icon.svg 这样的相对路径来显示项目中的自定义 SVG 图标。路径相对于使用组件的页面。 Markdown1<Card 2 title="蕨类物种" 3 icon="./images/fern-leaf.svg"4>5 带有自定义 SVG 图标的卡片。6</Card>78<Icon icon="./images/fern-leaf.svg" /> 自定义 SVG 图标 阅读文档
December 20, 2025componentscustomizationCard 和 Icon 组件中的自定义 SVG 图标 Card 和 Icon 组件支持 SVG 文件的相对路径。使用像 ./images/icon.svg 这样的相对路径来显示项目中的自定义 SVG 图标。路径相对于使用组件的页面。 Markdown1<Card 2 title="蕨类物种" 3 icon="./images/fern-leaf.svg"4>5 带有自定义 SVG 图标的卡片。6</Card>78<Icon icon="./images/fern-leaf.svg" /> 自定义 SVG 图标 阅读文档