Skip to content

Global Data ​

Global data sources allow you to add commonly used data sources, supporting both static and remote data. They can be used in component configurations such as checkbox, radio, select, etc., and support extension.

image-20240401222509023

  1. Enter custom data source name
  2. Operation buttons, supporting add and delete

Remote Data ​

image-20240401221351154

  1. Data list of global datasets, supports extension
  2. Delete added datasets
  3. Configure remote data request URL, request method, and other information
  4. Custom processing logic for remote interface data, returns processed data. By default, reads res.data
  5. Custom handling logic after interface request fails
  6. Save button: Click to save changes after modifying configuration

Static Data ​

image-20240401221948009

  1. Data content area: For complex data structures, data can be quickly set using JSON
  2. Save button: Click to save changes after modifying configuration

Using Global Data Source ​

image-20240401222904337

  1. Select data from global data sources
  2. Refresh button: Click to reload global data
  3. Management button: Opens the global data source management interface