补全显示未完全的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: '编号', title: '编号',
align: 'center', align: 'center',
width: 80 width: 80
},{ field: 'status', title: '状态', align: 'center', width: 80, templet: function (d) { },{ field: 'check_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>'; var html = '<span class="layui-btn layui-btn-xs layui-bg-' + d.check_status + '">' + d.status_name + '</span>';
return html; return html;
} }
},{ },{

View File

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