需要使用layui模板引擎
<script type="text/html" id="indexTpl">
{{d.LAY_TABLE_INDEX+1}}
</script>
在table的col中使用
{title: '序号',templet: '#indexTpl'}
需要使用layui模板引擎
<script type="text/html" id="indexTpl">
{{d.LAY_TABLE_INDEX+1}}
</script>
在table的col中使用
{title: '序号',templet: '#indexTpl'}