feat:icon name can be displayed(#498)

feat: 鼠标移上去,能显示图标名
This commit is contained in:
最后 2021-04-19 01:11:38 +08:00 committed by GitHub
parent 4a035478ca
commit 502cc2701b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@
:class="currentSelect === icon ? 'border border-primary' : ''" :class="currentSelect === icon ? 'border border-primary' : ''"
class="p-2 w-1/8 cursor-pointer mr-1 mt-1 flex justify-center items-center border border-solid hover:border-primary" class="p-2 w-1/8 cursor-pointer mr-1 mt-1 flex justify-center items-center border border-solid hover:border-primary"
@click="handleClick(icon)" @click="handleClick(icon)"
:title="icon"
> >
<!-- <Icon :icon="icon" :prefix="prefix" /> --> <!-- <Icon :icon="icon" :prefix="prefix" /> -->
<SvgIcon v-if="isSvgMode" :name="icon" /> <SvgIcon v-if="isSvgMode" :name="icon" />