fix: refs #8388 ensure navigation occurs after data reload in save function
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
88a9299aa9
commit
cc397f6b20
|
@ -247,8 +247,8 @@ async function save() {
|
||||||
res: response?.data,
|
res: response?.data,
|
||||||
old: originalData.value,
|
old: originalData.value,
|
||||||
});
|
});
|
||||||
if ($props.goTo) return push({ path: $props.goTo });
|
|
||||||
if ($props.reload) await arrayData.fetch({});
|
if ($props.reload) await arrayData.fetch({});
|
||||||
|
if ($props.goTo) return push({ path: $props.goTo });
|
||||||
hasChanges.value = false;
|
hasChanges.value = false;
|
||||||
} finally {
|
} finally {
|
||||||
isLoading.value = false;
|
isLoading.value = false;
|
||||||
|
|
Loading…
Reference in New Issue