From 0ba02a2f72d48132de403cc63d5f91b366715674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Sun, 25 Sep 2022 15:15:04 +0800 Subject: [PATCH] Update index.html --- app/admin/view/user/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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||"-"}}
'},