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 {