perf: change fn name
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
e2f092948e
commit
c6b547bc55
|
@ -196,7 +196,7 @@ async function fetch() {
|
||||||
originalData.value = {};
|
originalData.value = {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function HandleRequestArgs() {
|
function handleRequestArgs() {
|
||||||
const isUrlCreate = $props.urlCreate;
|
const isUrlCreate = $props.urlCreate;
|
||||||
const differences = getDifferences(formData.value, originalData.value);
|
const differences = getDifferences(formData.value, originalData.value);
|
||||||
return {
|
return {
|
||||||
|
@ -216,7 +216,7 @@ async function save() {
|
||||||
isLoading.value = true;
|
isLoading.value = true;
|
||||||
try {
|
try {
|
||||||
formData.value = trimData(formData.value);
|
formData.value = trimData(formData.value);
|
||||||
const { method, body, url } = HandleRequestArgs();
|
const { method, body, url } = handleRequestArgs();
|
||||||
|
|
||||||
let response;
|
let response;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue