Answer the question
In order to leave comments, you need to log in
Access getter only after request?
I have a component that outputs different values from the state, the data comes to the state from the back.
getDays(state) {
return state.rtb.days
},
getQuarter(state) {
return state.rtb.weeks.map(item => ({
label: item.label,
}))
},
weeks(state, getters) {
switch(state.settings.viewType) {
case 'daysOfMonth': {
return getters.getDays
}
case 'monthsOfQuarter': {
return getters.getQuarter
}
}
},
computed: {
...mapGetters('weeks')
},
Answer the question
In order to leave comments, you need to log in
If header and footer are set to position: absolute, the content block should have vertical padding equal to the height of the header and footer - margin: 70px 0 100px;
jsfiddle.net/AdQ3P/346 - maybe this will help??
webcareer.ru/vysota-ravnaya-shirine-na-css.html
And I couldn't sleep at all: codepen.io/emelyanova/pen/KrYyvG - such a thing as vh - can save you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question