Commit dc3c4065 authored by 刘用法's avatar 刘用法

时间控件

parent 6c8364f5
...@@ -188,9 +188,9 @@ ...@@ -188,9 +188,9 @@
let morrow = this.moment(now).add(1, 'days') let morrow = this.moment(now).add(1, 'days')
let content let content
if(day == now) { if(day == now) {
content = this.moment(day).format('今天') content = '今天'
} else if(day == morrow) { } else if(day == morrow) {
content = this.moment(day).format('明天') content = '明天'
} else { } else {
content = this.moment(day).format('周dd') content = this.moment(day).format('周dd')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment