vue 获取当前时间
timeNow () {
return moment().utc().format(‘YYYY年MM月DD日‘) + ‘ ‘ + moment().utc().format(‘dddd‘)
}
文章来自:https://www.cnblogs.com/xiaopenzai/p/9747804.html
timeNow () {
return moment().utc().format(‘YYYY年MM月DD日‘) + ‘ ‘ + moment().utc().format(‘dddd‘)
}