1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-23 08:00:22 +08:00

refactor: 重构图标使用方式,集成自定应图标

This commit is contained in:
张传龙
2022-06-19 13:35:36 +08:00
parent 00ba77c15e
commit f88b4f52a1
19 changed files with 79 additions and 144 deletions

View File

@@ -2,10 +2,10 @@
<div ref="wrapper" class="tags-wrapper" @mousewheel.prevent="handleMouseWheel">
<template v-if="showArrow && isOverflow">
<div class="left" @click="handleMouseWheel({ wheelDelta: 50 })">
<IconArrowLeft />
<icon-ic:baseline-keyboard-arrow-left />
</div>
<div class="right" @click="handleMouseWheel({ wheelDelta: -50 })">
<IconArrowRight />
<icon-ic:baseline-keyboard-arrow-right />
</div>
</template>
@@ -25,7 +25,6 @@
<script setup>
import { ref, onMounted } from 'vue'
import { IconArrowLeft, IconArrowRight } from '@/components/AppIcons'
import { debounce } from '@/utils'
import { isNullOrUndef } from '@/utils/is'