change fn name
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
1414b93633
commit
56dd5e0a76
|
@ -22,7 +22,7 @@ const newAccountForm = reactive({
|
||||||
});
|
});
|
||||||
const rolesOptions = ref([]);
|
const rolesOptions = ref([]);
|
||||||
|
|
||||||
const redirectToEntryBasicData = (_, { id }) => {
|
const redirectToAccountBasicData = (_, { id }) => {
|
||||||
router.push({ name: 'AccountBasicData', params: { id } });
|
router.push({ name: 'AccountBasicData', params: { id } });
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -51,7 +51,7 @@ const redirectToEntryBasicData = (_, { id }) => {
|
||||||
url-create="VnUsers"
|
url-create="VnUsers"
|
||||||
model="users"
|
model="users"
|
||||||
:form-initial-data="newAccountForm"
|
:form-initial-data="newAccountForm"
|
||||||
@on-data-saved="redirectToEntryBasicData"
|
@on-data-saved="redirectToAccountBasicData"
|
||||||
>
|
>
|
||||||
<template #form="{ data, validate }">
|
<template #form="{ data, validate }">
|
||||||
<VnRow class="row q-gutter-md q-mb-md">
|
<VnRow class="row q-gutter-md q-mb-md">
|
||||||
|
|
Loading…
Reference in New Issue