bfg-common 1.3.291 → 1.3.292
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -362,6 +362,10 @@ export default class Wizard {
|
|
|
362
362
|
if (st.id === stepId)
|
|
363
363
|
return { ...st, status: UI_E_WIZARD_STATUS.SELECTED }
|
|
364
364
|
|
|
365
|
+
// TODO Было сделано на скорую руку
|
|
366
|
+
if (st.id > stepId && st.status === UI_E_WIZARD_STATUS.ACTIVE)
|
|
367
|
+
return { ...st, status: UI_E_WIZARD_STATUS.COMPLETED }
|
|
368
|
+
|
|
365
369
|
return st
|
|
366
370
|
})
|
|
367
371
|
|
|
@@ -523,6 +523,8 @@ const validateSendData = async (
|
|
|
523
523
|
if (data) {
|
|
524
524
|
stepHasError = true
|
|
525
525
|
selectedNavItem.value = data[0]
|
|
526
|
+
console.log(data[1], 1111);
|
|
527
|
+
data[1] !== null && wizard.selectStepHard(data[1])
|
|
526
528
|
// data[1] !== null && (stepPosition.value = data[1])
|
|
527
529
|
}
|
|
528
530
|
|