This commit is contained in:
朱菊兰 2024-06-24 13:27:09 +08:00
bovenliggende 8f8d0396b7
commit a9392c8999
2 gewijzigde bestanden met toevoegingen van 10 en 0 verwijderingen

Bestand weergeven

@ -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: {

Bestand weergeven

@ -25,6 +25,7 @@
placeholder="选择日期"
value-format="yyyy-MM-dd"
style="width: 150px"
:picker-options="pickerOptions"
>
</el-date-picker>
</el-form-item>
@ -37,6 +38,7 @@
placeholder="选择周"
value-format="yyyy-MM-dd"
style="width: 150px"
:picker-options="pickerOptions"
>
</el-date-picker>
</el-form-item>
@ -118,6 +120,9 @@ export default {
{ id: 0, name: "瑞昌" },
{ id: 1, name: "邯郸" },
],
pickerOptions: {
firstDayOfWeek: 1,
},
};
},
methods: {