获取自定义数据列表指令
指令介绍
customDataList,获取自定义数据列表文章。
方法参数
参数名称 | 参数说明 | 参数类型 | 是否必须 |
uuid | 数据定义uuid | String | 是 |
count | 数量 | Integer | 否 |
searchProperty | 搜索属性 | String | 否 |
searchValue | 搜索值 | String | 否 |
orderProperty | 排序属性 | String | 否 |
orderDirection | 排序方式(asc,desc) | String | 否 |
使用方法
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<@customDataList uuid='uuid' count=2>
<#list customDataList as data>
<h3>${data.columnA}</h3>
</#list>
</@customDataList>
</body>
</html>