diff --git a/src/pages/panel/index.vue b/src/pages/panel/index.vue index 2c58fb6..cfc7a92 100644 --- a/src/pages/panel/index.vue +++ b/src/pages/panel/index.vue @@ -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()