Ver código fonte

feat:icon name can be displayed(#498)

feat: 鼠标移上去,能显示图标名
最后 4 anos atrás
pai
commit
502cc2701b
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      src/components/Icon/src/IconPicker.vue

+ 1 - 0
src/components/Icon/src/IconPicker.vue

@@ -33,6 +33,7 @@
                   :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"
                   @click="handleClick(icon)"
+                  :title="icon"
                 >
                   <!-- <Icon :icon="icon" :prefix="prefix" /> -->
                   <SvgIcon v-if="isSvgMode" :name="icon" />