fix missing field steps
This commit is contained in:
@@ -686,7 +686,7 @@ export default {
|
|||||||
return this.minimize || (this.orientation?.includes('landscape') && this.isMobile && parseInt(window.innerHeight) < 550)
|
return this.minimize || (this.orientation?.includes('landscape') && this.isMobile && parseInt(window.innerHeight) < 550)
|
||||||
},
|
},
|
||||||
currentStepFields () {
|
currentStepFields () {
|
||||||
return this.stepFields[this.currentStep]
|
return this.stepFields[this.currentStep] || []
|
||||||
},
|
},
|
||||||
browserLanguage () {
|
browserLanguage () {
|
||||||
return (navigator.language || navigator.userLanguage || 'en').split('-')[0]
|
return (navigator.language || navigator.userLanguage || 'en').split('-')[0]
|
||||||
@@ -763,7 +763,7 @@ export default {
|
|||||||
this.isFormVisible = value
|
this.isFormVisible = value
|
||||||
},
|
},
|
||||||
currentStepFields (value) {
|
currentStepFields (value) {
|
||||||
if (!value) {
|
if (isEmpty(value)) {
|
||||||
this.currentStep -= 1
|
this.currentStep -= 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user