From 909ddcb9ec53a6f97219adfb8549b14de1ef5318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Sun, 16 Oct 2022 15:42:06 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(component):=20=E5=88=9B=E5=BB=BA=20Ca?= =?UTF-8?q?rouselItemProps=20=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/carouselItem/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/component/src/component/carouselItem/index.vue b/package/component/src/component/carouselItem/index.vue index 536c4be5..c84c2b1a 100644 --- a/package/component/src/component/carouselItem/index.vue +++ b/package/component/src/component/carouselItem/index.vue @@ -14,9 +14,11 @@ import { WritableComputedRef, } from "vue"; -const props = defineProps<{ +export interface CarouselItemProps { id: string; -}>(); +} + +const props = defineProps(); const active = inject("active") as WritableComputedRef; const slotsChange: Ref = inject("slotsChange") as Ref;