补全显示未完全的html标签

This commit is contained in:
hdm 2022-09-20 00:19:40 +08:00
parent 35c8470db6
commit eaa53294b2
2 changed files with 3 additions and 3 deletions

View File

@ -51,8 +51,8 @@
title: '编号',
align: 'center',
width: 80
},{ field: 'status', title: '状态', align: 'center', width: 80, templet: function (d) {
var html = '<span class="layui-btn layui-btn-xs layui-bg-' + d.status + '">' + d.status_name + '</span>';
},{ field: 'check_status', title: '状态', align: 'center', width: 80, templet: function (d) {
var html = '<span class="layui-btn layui-btn-xs layui-bg-' + d.check_status + '">' + d.status_name + '</span>';
return html;
}
},{

View File

@ -156,7 +156,7 @@
</tr>
{/volist}
{/empty}
</table
</table>
</td>
</tr>
</table>