Commit 65131e46 authored by xxx's avatar xxx

修改

parent d0ad387f
......@@ -234,8 +234,7 @@ export default {
let sec = String(myDate.getSeconds() < 10 ? '0' + myDate.getSeconds() : myDate.getSeconds());
let weeks = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
let week = weeks[wk];
this.currentTime = yy + '-' + mm + '-' + dd + ' ' + hou + ':' + min + ' ' + week;
console.log(this.currentTime);
this.currentTime = yy + '-' + mm + '-' + dd + ' ' + hou + ':' + min + ':' + sec + ' ' + week;
//电量
navigator.getBattery().then(function(battery) {
that.batteryEnegy = battery.level * 100;
......
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