diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/Default.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/Default.cshtml index b48ab2198..dde42766e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/Default.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/Default.cshtml @@ -107,7 +107,7 @@
密码不正确
- +
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml index 067e4e9a1..5e7b5a3eb 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml @@ -219,8 +219,15 @@ return result; }, date: function (value) { - var date = new Date(value); - return date.toLocaleDateString(); + if (!!value) { + var date = new Date(value); + if (date instanceof Date && !isNaN(date.getTime())) { + return date.toLocaleDateString(); + } else { + return ''; + } + } else + return ''; }, nationalityNo: function (value) { var result;