|
@@ -80,10 +80,10 @@ export function getNowdata(e) {
|
|
|
let yy = new Date().getFullYear()
|
|
|
let mm = new Date().getMonth() + 1 < 10 ? '0' + (new Date().getMonth() + 1) : new Date().getMonth() + 1
|
|
|
let dd = new Date().getDate() < 10 ? '0' + new Date().getDate() : new Date().getDate()
|
|
|
- let hh = new Date().getHours()
|
|
|
+ let hh = new Date().getHours() < 10 ? '0' + new Date().getHours() : new Date().getHours()
|
|
|
let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes() : new Date().getMinutes()
|
|
|
let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds() : new Date().getSeconds()
|
|
|
let time = yy + e.a + mm + e.a + dd + e.b + hh + e.c + mf + e.c + ss
|
|
|
return time
|
|
|
}
|
|
|
-export default { getTodoBase, getDoneBase, getInitiateBase, updateBase, getNowdata, queryReadBase,queryReadDoneBase };
|
|
|
+export default { getTodoBase, getDoneBase, getInitiateBase, updateBase, getNowdata, queryReadBase, queryReadDoneBase };
|