var time = this.CreateTime; this.CreateTime = new Date(time.replace("T", " ")).FormatD("yyyy-MM-dd");
//this.CreateTime 就是数据库中读取的时间,替换了T改为“ ”空格替换,
var time = this.CreateTime; this.CreateTime = new Date(time.replace("T", " ")).FormatD("yyyy-MM-dd");
//this.CreateTime 就是数据库中读取的时间,替换了T改为“ ”空格替换,