|
|
@@ -82,7 +82,7 @@ export default {
|
|
|
this.monthA = ''
|
|
|
this.yearA = this.NowTime1.split('-')[0]
|
|
|
this.monthA = this.NowTime1.split('-')[1]
|
|
|
- this.monthB = Number(this.NowTime1.split('-')[1])>=10? this.monthA+"":"0"+this.monthA
|
|
|
+ this.monthB = Number(this.NowTime1.split('-')[1])>=10? Number(this.NowTime1.split('-')[1])+"":"0"+Number(this.NowTime1.split('-')[1])
|
|
|
this.NowTime = this.yearA + '-' + this.monthB
|
|
|
// console.log('页面第一次进来显示时间',date.year,date.month)
|
|
|
//进来获取当前时间 之后获取当前月份天数 传给
|