<template>
<span class="loanlisttime">{{ item.createTime | dateFrm }}</span>
</template>
filters: {
dateFrm: function (el) {
// console.log('time')
let cretime = moment(el).utcOffset(480).format("YYYY-MM-DD HH:mm:ss")
let mistiming = moment(cretime, 'YYYYMMDD HH:mm:ss').fromNow()
return mistiming
},
}