fix: 修复示例图标错误

This commit is contained in:
kailong321200875 2024-06-20 16:20:14 +08:00
parent a47c454834
commit a07f4e9925
1 changed files with 12 additions and 12 deletions

View File

@ -475,8 +475,8 @@ const schema = reactive<FormSchema[]>([
label: `${t('formDemo.icon')}1`, label: `${t('formDemo.icon')}1`,
component: 'Input', component: 'Input',
componentProps: { componentProps: {
suffixIcon: <Icon icon="ep:calendar" />, suffixIcon: <Icon icon="vi-ep:calendar" />,
prefixIcon: <Icon icon="ep:share" /> prefixIcon: <Icon icon="vi-ep:share" />
} }
}, },
{ {
@ -486,9 +486,9 @@ const schema = reactive<FormSchema[]>([
componentProps: { componentProps: {
slots: { slots: {
suffix: () => { suffix: () => {
return <Icon icon="ep:share" /> return <Icon icon="vi-ep:share" />
}, },
prefix: () => <Icon icon="ep:calendar" /> prefix: () => <Icon icon="vi-ep:calendar" />
} }
} }
}, },
@ -498,8 +498,8 @@ const schema = reactive<FormSchema[]>([
component: 'Input', component: 'Input',
componentProps: { componentProps: {
slots: { slots: {
prepend: () => <Icon icon="ep:calendar" />, prepend: () => <Icon icon="vi-ep:calendar" />,
append: () => <Icon icon="ep:share" /> append: () => <Icon icon="vi-ep:share" />
} }
} }
}, },
@ -636,7 +636,7 @@ const schema = reactive<FormSchema[]>([
return null return null
} }
}, },
prefix: () => <Icon icon="ep:calendar" /> prefix: () => <Icon icon="vi-ep:calendar" />
} }
} }
}, },
@ -901,11 +901,11 @@ const schema = reactive<FormSchema[]>([
component: 'Rate', component: 'Rate',
value: null, value: null,
componentProps: { componentProps: {
voidIcon: <Icon icon="ep:chat-round" />, voidIcon: <Icon icon="vi-ep:chat-round" />,
icons: [ icons: [
<Icon icon="ep:chat-round" />, <Icon icon="vi-ep:chat-round" />,
<Icon icon="ep:chat-line-round" />, <Icon icon="vi-ep:chat-line-round" />,
<Icon icon="ep:chat-dot-round" /> <Icon icon="vi-ep:chat-dot-round" />
] ]
} }
}, },
@ -1768,7 +1768,7 @@ const schema = reactive<FormSchema[]>([
field: 'field88', field: 'field88',
component: 'IconPicker', component: 'IconPicker',
label: t('formDemo.default'), label: t('formDemo.default'),
value: 'tdesign:archway' value: 'vi-tdesign:archway'
}, },
{ {
field: 'field89', field: 'field89',