由于要给elementui 赋值date类型
百度了好几个答案都是错误
就在官网找了下直接toDate()就可以了
时间类型 2021-08-01 14:06:26
let sja = moment(row.stime).toDate()
由于要给elementui 赋值date类型
百度了好几个答案都是错误
就在官网找了下直接toDate()就可以了
时间类型 2021-08-01 14:06:26
let sja = moment(row.stime).toDate()