diff --git a/app/admin/view/user/index.html b/app/admin/view/user/index.html index 0d59bf016..94c3c2443 100644 --- a/app/admin/view/user/index.html +++ b/app/admin/view/user/index.html @@ -43,8 +43,8 @@ {field: 'sort', title: '排序权重', width: 100, align: 'center', sort: true, templet: '#SortInputTpl'}, { field: 'headimg', title: '头像', width: 60, align: 'center', templet: function (d) { - if (!d.headimg) return ''; - return layui.laytpl('
').render(d); + if (!d.headimg) return '-'; + return layui.laytpl('
').render(d); } }, {field: 'username', title: '登录账号', minWidth: 100, align: 'center', templet: '
{{d.username||"-"}}
'},