Skip to content

Commit

Permalink
fix(tag): 修复图标引用问题
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Apr 10, 2024
1 parent cdab846 commit cb287ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/nutui-taro-demo/src/basic/pages/popup/close.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</template>
<script setup>
import { ref } from 'vue'
import { Heart } from '@nutui/icons-vue'
import { Heart } from '@nutui/icons-vue-taro'
const show1 = ref(false)
const show2 = ref(false)
const show3 = ref(false)
Expand Down
4 changes: 2 additions & 2 deletions src/packages/__VUE/tag/tag.taro.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<template>
<view :class="classes" :style="style" @click="onClick">
<slot></slot>
<Close v-if="closeable" class="nut-tag--close" width="12px" height="12px" @click.stop="onClose"></Close>
<Close v-if="closeable" class="nut-tag--close" size="12px" @click.stop="onClose"></Close>
</view>
</template>

<script setup lang="ts">
import { CSSProperties, computed } from 'vue'
import { Close } from '@nutui/icons-vue'
import { Close } from '@nutui/icons-vue-taro'
import { TagType } from './types'
defineOptions({
Expand Down

0 comments on commit cb287ad

Please sign in to comment.