atom-nuxt 1.4.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
|
@@ -4,7 +4,7 @@ import { useCrudConverters } from "../composables/useCrudConverters";
|
|
|
4
4
|
import { usePreviousRoute } from "../composables/usePreviousRoute";
|
|
5
5
|
import { useRoute, useRouter } from "#app";
|
|
6
6
|
import CrudFilterList from "./CrudFilterList.vue";
|
|
7
|
-
import { computed, ref, watch, onMounted, onBeforeUnmount } from "vue";
|
|
7
|
+
import { computed, ref, watch, onMounted, onBeforeUnmount, toRaw } from "vue";
|
|
8
8
|
import { useDebounceFn } from "@vueuse/core";
|
|
9
9
|
import { useListenerService } from "../composables/useListenerService";
|
|
10
10
|
import CrudFormDialog from "./CrudFormDialog.vue";
|
|
@@ -338,7 +338,7 @@ const createForm = () => {
|
|
|
338
338
|
};
|
|
339
339
|
const saveAction = async () => {
|
|
340
340
|
formPending.value = true;
|
|
341
|
-
let itemToSave =
|
|
341
|
+
let itemToSave = structuredClone(toRaw(item.value));
|
|
342
342
|
if (props.beforeSave != null) {
|
|
343
343
|
itemToSave = await props.beforeSave(itemToSave);
|
|
344
344
|
}
|