|
|
@@ -548,13 +548,13 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
/**
|
|
|
- * 计算最大可选日期:当前日期往后推7天
|
|
|
+ * 计算最大可选日期:当前日期往后推30天
|
|
|
*/
|
|
|
maxDate() {
|
|
|
const today = new Date();
|
|
|
const maxYear = today.getFullYear();
|
|
|
const maxMonth = today.getMonth();
|
|
|
- const maxDay = today.getDate() + 7;
|
|
|
+ const maxDay = today.getDate() + 30;
|
|
|
return new Date(maxYear, maxMonth, maxDay);
|
|
|
}
|
|
|
},
|