element_set_data
Set data for a custom component in a WeChat mini-program by specifying its element ID and the data object. Enables programmatic modification of component state for automated testing.
Instructions
修改自定义组件 data(仅自定义组件可用)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | 要改变的数据对象,仅自定义组件可用 | |
| element_id | Yes |