import Vue from 'vue' import { ENV } from '@/config/conf' const dateFormat = (str) => { var date = new Date(str) var dateGetTime = date.getTime() var nowGetTime = new Date().getTime() if ((nowGetTime - dateGetTime) < (60 * 1000)) { return '1分钟前' } e…