1.把他当做字符串来处理
'2020-12-13 00:00:00'
js截取
filters:{
formatTime(date){
retrue date.trim().split(" ")[0] //2020-12-13
}
}
html
<div class="info_box">
<div class="label">成立日期:</div>
<div class="info">{{businessData.startDate|formatTime}}</div>
</div>