fix bug
This commit is contained in:
parent
da00c86790
commit
ecaec186d2
@ -22,7 +22,7 @@ var vm = new Vue({
|
|||||||
var myHours = myDate.getHours(); // 获取当前小时(0-23)
|
var myHours = myDate.getHours(); // 获取当前小时(0-23)
|
||||||
var myMinu = myDate.getMinutes(); // 获取当前分钟(0-59)
|
var myMinu = myDate.getMinutes(); // 获取当前分钟(0-59)
|
||||||
var mySec = myDate.getSeconds(); // 获取当前秒数(0-59)
|
var mySec = myDate.getSeconds(); // 获取当前秒数(0-59)
|
||||||
var myWeek = myDate.getDay() + 6; //获取当前星期几(0-6)
|
var myWeek = myDate.getDay() -1; //获取当前星期几(0-6)
|
||||||
|
|
||||||
this.hour = myHours;
|
this.hour = myHours;
|
||||||
this.year = myYear;
|
this.year = myYear;
|
||||||
|
Loading…
Reference in New Issue
Block a user