Skip to content

模板 : element : 使用数据

eprom2006 edited this page Feb 9, 2020 · 5 revisions

绑定数据

datapath : 绑定数据

使用数据漫游器将数据绑定到节点,常用于将数组绑定到表行节点渲染表格。

当datapath指向的数据是对象时模板只渲染一次。 当datapath指向的数据是数组时模板会对每一行数据渲染一次。 当datapath指向的数据为null时模板不渲染。

data :将数据注入当前节点

数据访问器

value

selected

bind

Clone this wiki locally