WIP Промежуточные изменения

This commit is contained in:
Daria Golova
2023-06-21 15:32:30 +03:00
parent 80af2fc66c
commit 1915538ca2
5 changed files with 186 additions and 71 deletions

View File

@@ -8,7 +8,7 @@
:label="internalMonth"
no-caps,
padding="10px 12px"
@click="nextForm"
@click="switchForm"
)
.arrows.flex.items-center.justify-center.gap-x-6
q-btn(
@@ -53,7 +53,7 @@ export default {
range: Boolean,
rangeCount: Number,
internalMonth: String,
nextForm: {
changeForm: {
type: Function,
default: () => {},
},
@@ -97,6 +97,9 @@ export default {
},
},
methods: {
switchForm() {
this.changeForm("CalendarYears");
},
previousMonth() {
this.internalValue = this.internalValue.clone().subtract(1, "month");
},