@ -140,7 +140,22 @@ export default defineComponent({
* Back to the entrance
*/
const onClose = () => {
if (history.state.back !== '/login') {
router.go(-1)
return
}
if (history.state.current.includes('workflow/definitions')) {
router.push({
path: `/projects/${route.params.projectCode}/workflow-definition`
})
if (history.state.current.includes('workflow/instances')) {
path: `/projects/${route.params.projectCode}/workflow/instances`
/**