|
@@ -79,8 +79,8 @@ export default {
|
|
|
},
|
|
|
formatTime() {
|
|
|
let year = new Date().getFullYear()
|
|
|
- let month = new Date().getMonth() + 1 > 10 ? new Date().getMonth() + 1 : '0' + (new Date().getMonth() + 1)
|
|
|
- let date = new Date().getDate() > 10 ? new Date().getDate() : '0' + new Date().getDate()
|
|
|
+ let month = new Date().getMonth() + 1 >= 10 ? new Date().getMonth() + 1 : '0' + (new Date().getMonth() + 1)
|
|
|
+ let date = new Date().getDate() >= 10 ? new Date().getDate() : '0' + new Date().getDate()
|
|
|
return (this.today = year + '' + month + '' + date)
|
|
|
},
|
|
|
getPer5Time() {
|