Skip to content

Commit

Permalink
feat(image): props-t-id
Browse files Browse the repository at this point in the history
  • Loading branch information
catiwang committed Apr 1, 2024
1 parent 359e012 commit 9d0046c
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
Binary file modified db/TDesign.db
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

name | type | default | description | required
-- | -- | -- | -- | --
t-id | String | - | `1.2.10`。image tag id | N
error | String / Slot | 'default' | \- | N
external-classes | Array | - | `['t-class', 't-class-load']` | N
lazy | Boolean | false | \- | N
Expand Down
1 change: 1 addition & 0 deletions packages/products/tdesign-miniprogram/src/image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

名称 | 类型 | 默认值 | 说明 | 必传
-- | -- | -- | -- | --
t-id | String | - | `1.2.10`。图片标签id | N
error | String / Slot | 'default' | 加载失败时显示的内容。值为 `default` 则表示使用默认加载失败风格;值为空或者 `slot` 表示使用插槽渲染,插槽名称为 `error`;值为其他则表示普通文本内容,如“加载失败” | N
external-classes | Array | - | 组件类名,分别用于设置加载组件外层元素,中间内容等元素类名。`['t-class', 't-class-load']` | N
lazy | Boolean | false | 是否开启图片懒加载 | N
Expand Down
37 changes: 37 additions & 0 deletions packages/scripts/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -53886,6 +53886,43 @@
"String"
]
},
{
"id": 1711960430,
"platform_framework": [
"64"
],
"component": "Image",
"field_category": 1,
"field_name": "tId",
"field_type": [
"1"
],
"field_default_value": "",
"field_enum": "",
"field_desc_zh": "图片标签id",
"field_desc_en": "image tag id",
"field_required": 0,
"event_input": "",
"create_time": "2024-04-01 08:33:50",
"update_time": "2024-04-01 08:33:50",
"event_output": null,
"custom_field_type": null,
"syntactic_sugar": null,
"readonly": 1,
"html_attribute": 0,
"trigger_elements": "",
"deprecated": 0,
"version": "{\"Miniprogram\": \"1.2.10\"}",
"test_description": null,
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"Miniprogram"
],
"field_type_text": [
"String"
]
},
{
"id": 3404,
"platform_framework": [
Expand Down

0 comments on commit 9d0046c

Please sign in to comment.