调整icon的对齐方式为中间居中

This commit is contained in:
绮梦 2023-08-26 13:24:23 +08:00
parent 1b6c9b2e29
commit 4d9ae73211

View File

@ -13,7 +13,7 @@ const { label } = defineProps({
<template>
<div class="cell-item">
<Icon :icon="icon" />
<Icon :icon="icon" v-if="icon" style="vertical-align: middle" />
{{ label }}
</div>
</template>