Commit 502cc2701b72335a2b976079b6edb96a3f70b972

Authored by 最后
Committed by GitHub
1 parent 4a035478

feat:icon name can be displayed(#498)

feat: 鼠标移上去,能显示图标名
src/components/Icon/src/IconPicker.vue
@@ -33,6 +33,7 @@ @@ -33,6 +33,7 @@
33 :class="currentSelect === icon ? 'border border-primary' : ''" 33 :class="currentSelect === icon ? 'border border-primary' : ''"
34 class="p-2 w-1/8 cursor-pointer mr-1 mt-1 flex justify-center items-center border border-solid hover:border-primary" 34 class="p-2 w-1/8 cursor-pointer mr-1 mt-1 flex justify-center items-center border border-solid hover:border-primary"
35 @click="handleClick(icon)" 35 @click="handleClick(icon)"
  36 + :title="icon"
36 > 37 >
37 <!-- <Icon :icon="icon" :prefix="prefix" /> --> 38 <!-- <Icon :icon="icon" :prefix="prefix" /> -->
38 <SvgIcon v-if="isSvgMode" :name="icon" /> 39 <SvgIcon v-if="isSvgMode" :name="icon" />