From 1a39d0344238e8c0395803091469a73b0e9a667c Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <913652501@qq.com>
Date: Mon, 17 Aug 2020 14:57:57 +0800
Subject: [PATCH] 修改用户模块的样式

---
 kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html
index 8b4fc12..fb0c6ad 100644
--- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html
+++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html
@@ -67,7 +67,13 @@
                 { field: 'mobile',  width: 150, title: '手机号' },
                 {
                     sort: true, title: '性别', templet: function (d) {
-                        return d.sex == 0 ? "男" : "女"
+                        var value="";
+                        if(d.sex == 0){
+                            value="男";
+                        }else if(d.sex == 1){
+                            value="女";
+                        }
+                        return value
                     }, width: 100
                 },
                 { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" },

--
Gitblit v1.8.0