修改:1、qtask.call 服务
2、其他界面样式优化
This commit is contained in:
@@ -231,6 +231,9 @@ var red = {
|
||||
},
|
||||
|
||||
timeFmt: function (date,fmt){
|
||||
if (!this.isValidDate(date)) {
|
||||
return "";
|
||||
}
|
||||
fmt = fmt || "yyyy-MM-dd HH:mm:ss";
|
||||
var o = {
|
||||
"M+" : date.getMonth()+1, //月份
|
||||
@@ -286,6 +289,9 @@ var red = {
|
||||
}
|
||||
}
|
||||
return cloneObj;
|
||||
},
|
||||
isValidDate: function (date) {
|
||||
return date instanceof Date && !isNaN(date.getTime());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user