From 72b5779bfc35ecec86e8f43684aa6cfb9fcee95f Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Wed, 25 May 2022 09:31:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E8=AE=AF=E5=BD=95=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=80=A7=E5=88=AB=E5=88=97=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EducationalAdministration/Views/AddressBook/Index.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AddressBook/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AddressBook/Index.js index 43c37dec8..9476311ff 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AddressBook/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AddressBook/Index.js @@ -86,7 +86,14 @@ var bootstrap = function ($, learun) { { label: "性别", name: "AGender", width: 200, align: "left", formatter: function (cellvalue) { - return cellvalue == true ? "男" : "女"; + if (cellvalue == true) { + return '男'; + } else if (cellvalue == false) { + return '女'; + } else { + return ''; + } + //return cellvalue == true ? "男" : "女"; } }, { label: '单位名称', name: 'ACompany', width: 200, align: "left" },