mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-24 11:05:17 +08:00
fix(components): [el-rate] allow-half show two icon (#6076)
This commit is contained in:
parent
2dd396f644
commit
cc32d275ef
@ -22,7 +22,10 @@
|
||||
:class="[ns.e('icon'), { hover: hoverIndex === item }]"
|
||||
:style="getIconStyle(item)"
|
||||
>
|
||||
<component :is="iconComponents[item - 1]" />
|
||||
<component
|
||||
:is="iconComponents[item - 1]"
|
||||
v-if="!showDecimalIcon(item)"
|
||||
/>
|
||||
<el-icon
|
||||
v-if="showDecimalIcon(item)"
|
||||
:style="decimalStyle"
|
||||
|
Loading…
Reference in New Issue
Block a user