Skip to content

Commit cb287ad

Browse files
committed
fix(tag): 修复图标引用问题
1 parent cdab846 commit cb287ad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/nutui-taro-demo/src/basic/pages/popup/close.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</template>
2121
<script setup>
2222
import { ref } from 'vue'
23-
import { Heart } from '@nutui/icons-vue'
23+
import { Heart } from '@nutui/icons-vue-taro'
2424
const show1 = ref(false)
2525
const show2 = ref(false)
2626
const show3 = ref(false)

src/packages/__VUE/tag/tag.taro.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<template>
22
<view :class="classes" :style="style" @click="onClick">
33
<slot></slot>
4-
<Close v-if="closeable" class="nut-tag--close" width="12px" height="12px" @click.stop="onClose"></Close>
4+
<Close v-if="closeable" class="nut-tag--close" size="12px" @click.stop="onClose"></Close>
55
</view>
66
</template>
77

88
<script setup lang="ts">
99
import { CSSProperties, computed } from 'vue'
10-
import { Close } from '@nutui/icons-vue'
10+
import { Close } from '@nutui/icons-vue-taro'
1111
import { TagType } from './types'
1212
1313
defineOptions({

0 commit comments

Comments
 (0)