#6273 fix redirect #434
|
@ -86,7 +86,7 @@ onBeforeMount(async () => {
|
||||||
url-create="Workers/new"
|
url-create="Workers/new"
|
||||||
model="worker"
|
model="worker"
|
||||||
:form-initial-data="formData"
|
:form-initial-data="formData"
|
||||||
@on-data-saved="({ id }) => $router.push({ path: `/worker/${id}` })"
|
@on-data-saved="(__, { id }) => $router.push({ path: `/worker/${id}` })"
|
||||||
>
|
>
|
||||||
<template #form="{ data, validate }">
|
<template #form="{ data, validate }">
|
||||||
<VnRow>
|
<VnRow>
|
||||||
|
|
Loading…
Reference in New Issue