From bc4b337e0f74cefb2d24a28d311de8111c8a89a0 Mon Sep 17 00:00:00 2001 From: xingyu Date: Fri, 11 Aug 2023 21:01:41 +0800 Subject: [PATCH] fix: cardlist --- src/components/CardList/src/CardList.vue | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/components/CardList/src/CardList.vue b/src/components/CardList/src/CardList.vue index ccaa125f..cff78265 100644 --- a/src/components/CardList/src/CardList.vue +++ b/src/components/CardList/src/CardList.vue @@ -22,9 +22,6 @@ const props = defineProps({ }) // 暴露内部方法 const emit = defineEmits(['getMethod', 'delete']) -const ListItem = List.Item -const CardMeta = Card.Meta -const TypographyText = Typography.Text // 获取slider属性 const sliderProp = computed(() => useSlider(4)) // 数据 @@ -129,7 +126,7 @@ async function handleDelete(id) {