面板月份修改
This commit is contained in:
parent
bd8ca34855
commit
1a98acfc5a
|
|
@ -198,10 +198,11 @@
|
|||
// 月份选择事件
|
||||
handleSubmit(e) {
|
||||
this.optionsData = []
|
||||
console.log(e)
|
||||
console.log("月份选择事件",e)
|
||||
this.curDateMtxt = `${e.year}年${e.month}月`
|
||||
let mNum = e.month > 9 ? e.month : '0' + e.month
|
||||
this.curDateM = `${e.year}-${mNum}`
|
||||
// let mNum = e.month > 9 ? e.month : '0' + e.month
|
||||
let mNum = e.month
|
||||
this.curDateM = `${e.year}-${mNum}`
|
||||
console.log(mNum)
|
||||
this.selectNum = new Date().getTime()
|
||||
this.getInitData()
|
||||
|
|
|
|||
Loading…
Reference in New Issue