dumi-theme-antd-style
dumi-theme-antd-style copied to clipboard
:sparkles: feat(slots-footer-index) : 通过配置 icon的值为图片URL来项显示图标
💻 变更类型 | Change Type
- [x] ✨ feat
- [ ] 🐛 fix
- [ ] 💄 style
- [ ] 🔨 chore
- [ ] 📝 docs
🔀 变更说明 | Description of Change
通过配置colunms
数组对象中的icon
字段,值为图片地址时,自动转为图片元素,正常显示图标。图标支持( png | jpeg | jpg | gif | svg | webp
)扩展名。
📝 补充信息 | Additional Information
配置项数据:
footerConfig: {
columns: [
// ......
{
icon: 'https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg',
title: '更多产品',
items: [
{
icon: 'https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg',
title: '语雀',
url: 'https://yuque.com',
description: '知识创作与分享工具',
openExternal: true,
}
]
}
],
}
测试结果:
Someone is attempting to deploy a commit to a Personal Account owned by @arvinxx on Vercel.
@arvinxx first needs to authorize it.
@huangjihua rebase 一下?