diff --git a/components/lib/image/Image.d.ts b/components/lib/image/Image.d.ts
index 892cb670d..379a0c5db 100644
--- a/components/lib/image/Image.d.ts
+++ b/components/lib/image/Image.d.ts
@@ -251,8 +251,13 @@ export interface ImageSlots {
style: any;
/**
* Image error function.
+ * @deprecated since v3.39.0. Use 'errorCallback' property instead.
*/
onError: () => void;
+ /**
+ * Preview click function.
+ */
+ errorCallback: () => void;
}): VNode[];
/**
* Custom preview template.
@@ -269,8 +274,13 @@ export interface ImageSlots {
style: any;
/**
* Preview click function.
+ * @deprecated since v3.39.0. Use 'previewCallback' property instead.
*/
onClick: () => void;
+ /**
+ * Preview click function.
+ */
+ previewCallback: () => void;
}): VNode[];
}
diff --git a/components/lib/image/Image.vue b/components/lib/image/Image.vue
index 5abdfa650..e63e935e7 100644
--- a/components/lib/image/Image.vue
+++ b/components/lib/image/Image.vue
@@ -1,6 +1,6 @@
-
+