This commit is contained in:
梁灏 2017-05-11 17:38:05 +08:00
parent 4e23e47c94
commit b9a4026ff7
2 changed files with 3 additions and 23 deletions

View file

@ -324,7 +324,7 @@
if (this[`${direction}CurrentView`] === 'year') {
this.$refs[`${direction}YearTable`].nextTenYear();
} else if (this[`${direction}CurrentView`] === 'month') {
this[`${direction}TableYear`]--;
this[`${direction}TableYear`]++;
} else {
const date = this.date;
date.setFullYear(date.getFullYear() + 1);