Skip to content
On this page

页面数据

定义数据

  • 在组件的data属性中,直接定义组件需要的数据。
json
{
  "type": "page",
  "data": {"hello": "hello word"},
  "body": "${hello}"
}

动态数据

动态数据获取

  • 通用获取api接口 API

  • 快捷写法

  • 初始化写法

动态数据渲染