From eb964883170347a1dcaad06af4118f0a79ba47c2 Mon Sep 17 00:00:00 2001 From: xingyu Date: Tue, 10 Oct 2023 11:51:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B6=88=E9=99=A4Preview=20Options?= =?UTF-8?q?=E7=9A=84=E5=87=BD=E6=95=B0=E5=AE=9A=E4=B9=89=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Loading/src/Loading.vue | 2 +- src/components/Preview/src/typing.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Loading/src/Loading.vue b/src/components/Loading/src/Loading.vue index fa7c7bd2..83075b67 100644 --- a/src/components/Loading/src/Loading.vue +++ b/src/components/Loading/src/Loading.vue @@ -25,7 +25,7 @@ defineProps({
diff --git a/src/components/Preview/src/typing.ts b/src/components/Preview/src/typing.ts index 882e1443..73cc28a2 100644 --- a/src/components/Preview/src/typing.ts +++ b/src/components/Preview/src/typing.ts @@ -12,8 +12,8 @@ export interface Options { defaultWidth?: number maskClosable?: boolean rememberState?: boolean - onImgLoad?: (img: onImgLoadType) => void - onImgError?: (img: onImgLoadType) => void + onImgLoad?: (params: onImgLoadType) => void + onImgError?: (params: onImgLoadType) => void } export interface Props {