设置最大值属性
btw-max=“90”
<el-form-item label="训练日期" style="margin-left:10px;">
<el-date-picker v-model="searchDate" type="daterange" :clearable="false" :editable="false"
range-separator="-" start-placeholder="开始日期" style="width: 210px;"
end-placeholder="结束日期" btw-max="90"></el-date-picker>
</el-form-item>