Browse Source

教师信息 时间处理

新疆体育高职分支
ndbs 8 months ago
parent
commit
643393dc29
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml

+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml View File

@@ -497,7 +497,11 @@
},
date: function (value) {
var date = new Date(value);
return date.toLocaleDateString();
if (date instanceof Date && !isNaN(date.getTime())) {
return date.toLocaleDateString();
} else {
return '';
}
},
company: function (value) {
var result;


Loading…
Cancel
Save