|
@@ -22,6 +22,7 @@
|
|
|
type="month"
|
|
|
value-format="yyyy-MM-DD"
|
|
|
style="width: 100%"
|
|
|
+ :picker-options="pickerOptions"
|
|
|
placeholder="请选择相册时间">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
@@ -45,6 +46,13 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ pickerOptions: {
|
|
|
+ firstDayOfWeek: 1,
|
|
|
+ disabledDate: (a) => {
|
|
|
+ const { dayjs } = this.$helpers;
|
|
|
+ return dayjs(a).isAfter(dayjs().subtract(1, "day"));
|
|
|
+ },
|
|
|
+ },
|
|
|
form: {
|
|
|
name: '',
|
|
|
timeLine: ''
|