This commit is contained in:
2024-06-24 13:27:09 +08:00
parent 8f8d0396b7
commit a9392c8999
2 changed files with 10 additions and 0 deletions

View File

@@ -26,6 +26,7 @@
placeholder="选择日期"
value-format="yyyy-MM-dd"
style="width: 150px"
:picker-options="pickerOptions"
>
</el-date-picker>
</el-form-item>
@@ -38,6 +39,7 @@
placeholder="选择周"
value-format="yyyy-MM-dd"
style="width: 150px"
:picker-options="pickerOptions"
>
</el-date-picker>
</el-form-item>
@@ -97,6 +99,9 @@ export default {
{ id: 2, name: "月" },
{ id: 3, name: "年" },
],
pickerOptions: {
firstDayOfWeek: 1,
},
};
},
methods: {