mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-29 22:56:41 +08:00
fix(components): fix non-props cannot penetrate
This commit is contained in:
parent
35310ed73c
commit
c6b22b9536
@ -47,7 +47,9 @@ const renderLocalIcon = computed(() => props.localIcon || !props.icon);
|
||||
</svg>
|
||||
</template>
|
||||
<template v-else>
|
||||
<Icon v-if="icon" :icon="icon" v-bind="bindAttrs" />
|
||||
<div v-bind="bindAttrs">
|
||||
<Icon v-if="icon" :icon="icon" />
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user