Skip to content

Commit 2a6cbf8

Browse files
committed
feat: 优化uniapp api
1 parent a8b5b46 commit 2a6cbf8

File tree

2 files changed

+114
-3
lines changed

2 files changed

+114
-3
lines changed

db/TDesign.db

8 KB
Binary file not shown.

packages/scripts/api.json

Lines changed: 114 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2774,7 +2774,7 @@
27742774
"create_time": "2025-11-05 08:16:18",
27752775
"update_time": "2025-11-05 08:16:18",
27762776
"event_output": null,
2777-
"custom_field_type": "Array<string | ActionSheetItem>【interface ActionSheetItem { label: string; description?: string; color?: string; disabled?: boolean; icon?: string; suffixIcon?: string }】",
2777+
"custom_field_type": "Array<string | ActionSheetItem>【interface ActionSheetItem { label: string; description?: string; color?: string; disabled?: boolean; icon?: string | object; suffixIcon?: string | object }】",
27782778
"syntactic_sugar": null,
27792779
"readonly": 1,
27802780
"html_attribute": 0,
@@ -14752,6 +14752,43 @@
1475214752
],
1475314753
"field_type_text": []
1475414754
},
14755+
{
14756+
"id": 1770176195,
14757+
"platform_framework": [
14758+
"128"
14759+
],
14760+
"component": "Button",
14761+
"field_category": 1,
14762+
"field_name": "activityType",
14763+
"field_type": [
14764+
"2"
14765+
],
14766+
"field_default_value": "",
14767+
"field_enum": "",
14768+
"field_desc_zh": "卡片id。 `open-type` 的值设置为 `liveActivity` ,设置 `activity-type` 参数为 [notify_type](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/subscribe-message-2.html)。当用户点击 `button` 后,可以通过 `bindcreateliveactivity` 事件回调获取到 `code` ",
14769+
"field_desc_en": null,
14770+
"field_required": 0,
14771+
"event_input": "(context: { value: string, trigger: 'input-change' | 'option-click' | 'clear' })",
14772+
"create_time": "2026-02-04 03:36:35",
14773+
"update_time": "2026-02-04 03:36:35",
14774+
"event_output": null,
14775+
"custom_field_type": null,
14776+
"syntactic_sugar": null,
14777+
"readonly": 1,
14778+
"html_attribute": 0,
14779+
"trigger_elements": "",
14780+
"deprecated": 0,
14781+
"version": "",
14782+
"test_description": null,
14783+
"support_default_value": 0,
14784+
"field_category_text": "Props",
14785+
"platform_framework_text": [
14786+
"UniApp"
14787+
],
14788+
"field_type_text": [
14789+
"Number"
14790+
]
14791+
},
1475514792
{
1475614793
"id": 1709459753,
1475714794
"platform_framework": [
@@ -15096,6 +15133,43 @@
1509615133
"Boolean"
1509715134
]
1509815135
},
15136+
{
15137+
"id": 1770176219,
15138+
"platform_framework": [
15139+
"128"
15140+
],
15141+
"component": "Button",
15142+
"field_category": 1,
15143+
"field_name": "entrancePath",
15144+
"field_type": [
15145+
"1"
15146+
],
15147+
"field_default_value": "",
15148+
"field_enum": "",
15149+
"field_desc_zh": "从消息小程序入口打开小程序的路径,默认为聊天工具启动路径",
15150+
"field_desc_en": null,
15151+
"field_required": 0,
15152+
"event_input": "(context: { value: string, trigger: 'input-change' | 'option-click' | 'clear' })",
15153+
"create_time": "2026-02-04 03:36:59",
15154+
"update_time": "2026-02-04 03:36:59",
15155+
"event_output": null,
15156+
"custom_field_type": null,
15157+
"syntactic_sugar": null,
15158+
"readonly": 1,
15159+
"html_attribute": 0,
15160+
"trigger_elements": "",
15161+
"deprecated": 0,
15162+
"version": "",
15163+
"test_description": null,
15164+
"support_default_value": 0,
15165+
"field_category_text": "Props",
15166+
"platform_framework_text": [
15167+
"UniApp"
15168+
],
15169+
"field_type_text": [
15170+
"String"
15171+
]
15172+
},
1509915173
{
1510015174
"id": 1725604537,
1510115175
"platform_framework": [
@@ -15662,6 +15736,43 @@
1566215736
"Object"
1566315737
]
1566415738
},
15739+
{
15740+
"id": 1770176247,
15741+
"platform_framework": [
15742+
"128"
15743+
],
15744+
"component": "Button",
15745+
"field_category": 1,
15746+
"field_name": "needShowEntrance",
15747+
"field_type": [
15748+
"4"
15749+
],
15750+
"field_default_value": "true",
15751+
"field_enum": "",
15752+
"field_desc_zh": "转发的文本消息是否要带小程序入口",
15753+
"field_desc_en": null,
15754+
"field_required": 0,
15755+
"event_input": "(context: { value: string, trigger: 'input-change' | 'option-click' | 'clear' })",
15756+
"create_time": "2026-02-04 03:37:27",
15757+
"update_time": "2026-02-04 03:37:27",
15758+
"event_output": null,
15759+
"custom_field_type": null,
15760+
"syntactic_sugar": null,
15761+
"readonly": 1,
15762+
"html_attribute": 0,
15763+
"trigger_elements": "",
15764+
"deprecated": 0,
15765+
"version": "",
15766+
"test_description": null,
15767+
"support_default_value": 0,
15768+
"field_category_text": "Props",
15769+
"platform_framework_text": [
15770+
"UniApp"
15771+
],
15772+
"field_type_text": [
15773+
"Boolean"
15774+
]
15775+
},
1566515776
{
1566615777
"id": 1709458728,
1566715778
"platform_framework": [
@@ -15871,7 +15982,7 @@
1587115982
],
1587215983
"field_default_value": "",
1587315984
"field_enum": "",
15874-
"field_desc_zh": "会话来源,open-type=\"contact\"时有效",
15985+
"field_desc_zh": "会话来源,open-type=\"contact\"时有效,,长度不超过 1024 个字符",
1587515986
"field_desc_en": null,
1587615987
"field_required": 0,
1587715988
"event_input": "",
@@ -109321,7 +109432,7 @@
109321109432
"field_desc_zh": "值发生变化时触发",
109322109433
"field_desc_en": null,
109323109434
"field_required": 0,
109324-
"event_input": "(context: { value: string })",
109435+
"event_input": "(context: { value: string, trigger: 'input-change' | 'option-click' | 'clear' })",
109325109436
"create_time": "2026-01-21 15:19:40",
109326109437
"update_time": "2026-01-21 15:19:40",
109327109438
"event_output": null,

0 commit comments

Comments
 (0)