export default { filters: { formatDate(time) { var date = new Date(time); var year=date.getFullYear(); var month=date.getMonth()+1; var date=date.getDate(); return year+"-"+month+"-"+date } }, data() {
时间:{{value.SignTime | formatDate }} 地址:{{value.Adress}} 备注:{{value.Remark}}
<!-- {{ item.CreateTime | formatDate}} -->