diff --git a/db/TDesign.db b/db/TDesign.db
index 9f142c7f..e32d9a0e 100644
Binary files a/db/TDesign.db and b/db/TDesign.db differ
diff --git a/packages/products/tdesign-mobile-vue/src/avatar/avatar.en-US.md b/packages/products/tdesign-mobile-vue/src/avatar/avatar.en-US.md
index 83c8b0a0..9141d57a 100644
--- a/packages/products/tdesign-mobile-vue/src/avatar/avatar.en-US.md
+++ b/packages/products/tdesign-mobile-vue/src/avatar/avatar.en-US.md
@@ -14,13 +14,13 @@ image | String | - | images url | N
imageProps | Object | - | Typescript:`ImageProps`,[Image API Documents](./image?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-mobile-vue/tree/develop/src/avatar/type.ts) | N
shape | String | circle | shape。options: circle/round。Typescript:`ShapeEnum ` `type ShapeEnum = 'circle' \| 'round'`。[see more ts definition](https://github.com/Tencent/tdesign-mobile-vue/tree/develop/src/avatar/type.ts) | N
size | String | medium | size | N
-onError | Function | | Typescript:`(context: { e: ImageEvent }) => void`
trigger on image load failed | N
+onError | Function | | Typescript:`(context: { e: Event }) => void`
trigger on image load failed | N
### Avatar Events
name | params | description
-- | -- | --
-error | `(context: { e: ImageEvent })` | trigger on image load failed
+error | `(context: { e: Event })` | trigger on image load failed
### AvatarGroup Props
diff --git a/packages/products/tdesign-mobile-vue/src/avatar/avatar.md b/packages/products/tdesign-mobile-vue/src/avatar/avatar.md
index 0a4294ee..c5cb29be 100644
--- a/packages/products/tdesign-mobile-vue/src/avatar/avatar.md
+++ b/packages/products/tdesign-mobile-vue/src/avatar/avatar.md
@@ -14,13 +14,13 @@ image | String | - | 图片地址 | N
imageProps | Object | - | 透传至 Image 组件。TS 类型:`ImageProps`,[Image API Documents](./image?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-mobile-vue/tree/develop/src/avatar/type.ts) | N
shape | String | circle | 形状。可选项:circle/round。TS 类型:`ShapeEnum ` `type ShapeEnum = 'circle' \| 'round'`。[详细类型定义](https://github.com/Tencent/tdesign-mobile-vue/tree/develop/src/avatar/type.ts) | N
size | String | medium | 尺寸,示例值:small/medium/large/24px/38px 等。优先级高于 AvatarGroup.size 。Avatar 单独存在时,默认值为 medium。如果父组件存在 AvatarGroup,默认值便由 AvatarGroup.size 决定 | N
-onError | Function | | TS 类型:`(context: { e: ImageEvent }) => void`
图片加载失败时触发 | N
+onError | Function | | TS 类型:`(context: { e: Event }) => void`
图片加载失败时触发 | N
### Avatar Events
名称 | 参数 | 描述
-- | -- | --
-error | `(context: { e: ImageEvent })` | 图片加载失败时触发
+error | `(context: { e: Event })` | 图片加载失败时触发
### AvatarGroup Props
diff --git a/packages/products/tdesign-mobile-vue/src/avatar/type.ts b/packages/products/tdesign-mobile-vue/src/avatar/type.ts
index 3c584cff..2537c7d1 100644
--- a/packages/products/tdesign-mobile-vue/src/avatar/type.ts
+++ b/packages/products/tdesign-mobile-vue/src/avatar/type.ts
@@ -6,7 +6,7 @@
import { BadgeProps } from '../badge';
import { ImageProps } from '../image';
-import { TNode, ImageEvent } from '../common';
+import { TNode } from '../common';
export interface TdAvatarProps {
/**
@@ -49,7 +49,7 @@ export interface TdAvatarProps {
/**
* 图片加载失败时触发
*/
- onError?: (context: { e: ImageEvent }) => void;
+ onError?: (context: { e: Event }) => void;
}
export interface TdAvatarGroupProps {
diff --git a/packages/scripts/api.json b/packages/scripts/api.json
index 2e15b69e..a8eb398f 100644
--- a/packages/scripts/api.json
+++ b/packages/scripts/api.json
@@ -6514,8 +6514,10 @@
"1",
"2",
"4",
+ "8",
"16",
- "32"
+ "32",
+ "64"
],
"component": "Avatar",
"field_category": 2,
@@ -6544,42 +6546,9 @@
"Vue(PC)",
"React(PC)",
"Angular(PC)",
- "React(Mobile)",
- "Angular(Mobile)"
- ],
- "field_type_text": []
- },
- {
- "id": 1712913934,
- "platform_framework": [
- "8",
- "64"
- ],
- "component": "Avatar",
- "field_category": 2,
- "field_name": "error",
- "field_type": [],
- "field_default_value": "",
- "field_enum": "",
- "field_desc_zh": "图片加载失败时触发",
- "field_desc_en": "trigger on image load failed",
- "field_required": 0,
- "event_input": "(context: { e: ImageEvent })",
- "create_time": "2024-04-12 09:25:34",
- "update_time": "2024-04-12 09:25:34",
- "event_output": null,
- "custom_field_type": null,
- "syntactic_sugar": null,
- "readonly": 1,
- "html_attribute": 0,
- "trigger_elements": "ImageEvent",
- "deprecated": 0,
- "version": "",
- "test_description": null,
- "support_default_value": 0,
- "field_category_text": "Events",
- "platform_framework_text": [
"Vue(Mobile)",
+ "React(Mobile)",
+ "Angular(Mobile)",
"Miniprogram"
],
"field_type_text": []