日历显示调整
This commit is contained in:
@@ -505,6 +505,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.lastYear = selYear
|
this.lastYear = selYear
|
||||||
this.lastMonth = selMonth
|
this.lastMonth = selMonth
|
||||||
|
// 获取日历变化的日期并显示
|
||||||
|
this.value = new Date(this.value.setDate(1))
|
||||||
this.value = new Date(this.value.setMonth(this.value.getMonth() - monthNum))
|
this.value = new Date(this.value.setMonth(this.value.getMonth() - monthNum))
|
||||||
this.value = new Date(this.value.setFullYear(this.value.getFullYear() - yearNum))
|
this.value = new Date(this.value.setFullYear(this.value.getFullYear() - yearNum))
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user