WIP Промежуточные изменения
This commit is contained in:
@@ -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");
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user