<el-date-picker
v-model="changeTrendTime"
:picker-options="pickerOptions"
type="month"
placeholder="请选择查看日期"
>
</el-date-picker>
computed: {
pickerOptions:() => {
return {
disabledDate(time){
// <= 0 当天之前
return moment().diff(time,'days') <= 0
}
}
},
},