| | |
| | | } |
| | | |
| | | if (isStringEmpty(route.redirectedFrom?.fullPath)) |
| | | push({ path: "/"}) |
| | | push({ path: "/ecg/doctor"}) |
| | | else if(route.redirectedFrom?.fullPath === "/roomselect" ) |
| | | push({ path: "/"}) |
| | | push({ path: "/ecg/doctor"}) |
| | | else if(route.redirectedFrom?.fullPath === "/ecg/roomselect" ) |
| | | push({ path: "/"}) |
| | | push({ path: "/ecg/doctor"}) |
| | | else |
| | | push({ path: route.redirectedFrom?.fullPath}) |
| | | } |
| | |
| | | } |
| | | |
| | | if (isStringEmpty(route.redirectedFrom?.fullPath)) { |
| | | push({path: "/"}) |
| | | push({path: "/ecg/doctor"}) |
| | | } |
| | | else if(route.redirectedFrom?.fullPath === "/roomselect" ) { |
| | | push({path: "/"}) |
| | | push({path: "/ecg/doctor"}) |
| | | } |
| | | else if(route.redirectedFrom?.fullPath === "/ecg/roomselect" ) { |
| | | push({path: "/"}) |
| | | push({path: "/ecg/doctor"}) |
| | | } |
| | | else { |
| | | push({path: route.redirectedFrom?.fullPath}) |