摘要: 1.第一步 在main.js文件中定义全局过滤器函数 // 全局过滤器--时间戳格式化时间//.padStart(2 , "0") 不足两位的,用0填充 Vue.filter('dateFormat', function(originVal) { const dt = new Date(origin 阅读全文
posted @ 2020-05-03 21:53 zwnsyw 阅读(587) 评论(0) 推荐(0) 编辑