BinarCode / vue-form-wizard

Vue.js 2 wizard
https://binarcode.github.io/vue-form-wizard/#/
MIT License
1.11k stars 244 forks source link

NavigationDuplicated: Avoided redundant navigation to current location: "/create-new-inspection/search-for-property". #363

Open TurchenkoPavel opened 3 years ago

TurchenkoPavel commented 3 years ago

Hi! When i am using vue routing for content, and create the children i have got this error

My router: { path: "/create-new-inspection", component: CreateNewInspection, children: [ {path: '', redirect: {name: 'create.new.inspection.search.for.property'} }, {path: 'search-for-property', name: "create.new.inspection.search.for.property", component: SearchForProperty, }, {path: 'address', name: "create.new.inspection.address", component: CreateNewInspectionAddress }, {path: 'customer', name: "create.new.inspection.customer", component: CreateNewInspectionCustomer }, {path: 'assignment', name: "create.new.inspection.assignment", component: CreateNewInspectionAssignment }, {path: 'responsible', name: "create.new.inspection.responsible", component: CreateNewInspectionResponsible }, {path: 'requested-by', name: "create.new.inspection.requested.by", component: CreateNewInspectionRequestedBy }, ]},

My root element ` <form-wizard @on-complete="onComplete" :start-index="startIndex" shape="circle" color="#e74c3c"> <tab-content title="Personal details" route="search-for-property" icon="ti-user"> <tab-content title="Additional Info" route="address" icon="ti-user"> <tab-content title="Last step" route="customer" icon="ti-user"> <tab-content title="Last step" route="assignment" icon="ti-user"> <tab-content title="Last step" route="responsible" icon="ti-user"> <tab-content title="Last step" route="requested-by" icon="ti-user">

</form-wizard>`