问题遇到的现象和发生背景
想实现每行后面显示一个删除按钮,但是页面不显示删除按钮。
问题相关代码,请勿粘贴截图
<script type="text/html" id="barDemo">
{{# if(d.applyDate=='${applyDate}'){}}
<a class="layui-btn layui-btn-danger btn-outline layui-btn-xs ajax "
data-params='{"url": "${ctx}/shh/grantInfoChange/grantDel","confirm":"true","action":"grantDel","data":"id={{ d.id}}","dataName":"grantInfoChangeTable","key":"id"}'>删除</a>
{{# }}}
</script>
{fixed: 'right', title: '操作', width: '10%', align: 'center', toolbar: '#barDemo'}