layui显示行删除功能,页面不显示删除按钮
想实现每行后面显示一个删除按钮,但是页面不显示删除按钮。
<script type="text/html" id="barDemo">
{{# if(d.applyDate=='${applyDate}'){}}
<a class="V4e_8ece_ceeda11 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'}
运行结果及报错内容
发表回复