feat(edit-vendor-modal): add icon-library reference link & tidy status switch

Highlights
• Introduced `Typography.Text` link with `IconLink` in `extraText` for the **icon** field, pointing to LobeHub’s full icon catalogue; only “请点击我” is clickable for clarity.
• Added required imports for `Typography` and `IconLink`.
• Removed unnecessary `size="large"` prop from the status `Form.Switch` to align with default form styling.

These tweaks improve user guidance when selecting vendor icons and refine the modal’s visual consistency.
This commit is contained in:
t0ng7u
2025-08-03 19:45:58 +08:00
parent 984c8ee477
commit 8a2aebf845
2 changed files with 16 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ const renderEndpoints = (text) => {
return renderLimitedItems({
items: arr,
renderItem: (ep, idx) => (
<Tag key={idx} color="blue" size="small" shape='circle'>
<Tag key={idx} color="white" size="small" shape='circle'>
{ep}
</Tag>
),
@@ -128,7 +128,7 @@ const renderBoundChannels = (channels) => {
return renderLimitedItems({
items: channels,
renderItem: (c, idx) => (
<Tag key={idx} color="purple" size="small" shape='circle'>
<Tag key={idx} color="white" size="small" shape='circle'>
{c.name}({c.type})
</Tag>
),