会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
前进中的蜗牛
海阔天作岸,山高人为峰!
首页
新随笔
联系
订阅
管理
2020年8月3日
使用Moment.js 格式化时间为今天,昨天,明天
摘要: 在引用了Moment.js 后 formatDate() { return function (val) { let that = this; this.$moment.lang("zh", { calendar: { lastDay: "[昨天] HH:mm:ss", lastWeek: "MM月
阅读全文
posted @ 2020-08-03 11:41 前进中的蜗牛
阅读(2746)
评论(0)
推荐(0)
编辑
公告