this.data.show_time = this.data.show_time.substring(0,10)
xxxx.xx.xx截取前面的年月日,占10位
截取字符串,可以用于后端传来的数据是有时分秒的,但是前端要求显示去掉时分秒的
最新推荐文章于 2024-04-29 10:42:46 发布
this.data.show_time = this.data.show_time.substring(0,10)
xxxx.xx.xx截取前面的年月日,占10位