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