Skip to content

Commit

Permalink
fix(components): 🐛 icon did not display
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyaoji committed May 23, 2023
1 parent 46e2349 commit 7b2b81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/ui/fab/fab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default defineComponent({
const slotFn = slots[kebab]
const classes = `vc-fab__${kebab} absolute-full`

return slotFn === void 0 ? h(VcIcon, { class: classes, name: props[kebab] as any }) : h('div', { class: classes }, slotFn(slotScope.value))
return slotFn === void 0 ? h(VcIcon, { class: classes, name: props[camel] } as any) : h('div', { class: classes }, slotFn(slotScope.value))
}

function getTriggerContent() {
Expand Down

0 comments on commit 7b2b81e

Please sign in to comment.