diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 0b6e270ad..09a78c298 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -196,7 +196,7 @@ async function fetch() { originalData.value = {}; } } -function HandleRequestArgs() { +function handleRequestArgs() { const isUrlCreate = $props.urlCreate; const differences = getDifferences(formData.value, originalData.value); return { @@ -216,7 +216,7 @@ async function save() { isLoading.value = true; try { formData.value = trimData(formData.value); - const { method, body, url } = HandleRequestArgs(); + const { method, body, url } = handleRequestArgs(); let response;