This commit is contained in:
Viet An
2026-07-02 09:07:59 +07:00
parent 1fc8532ed8
commit e91f0d22c4
52 changed files with 131 additions and 159 deletions

View File

@@ -3,7 +3,7 @@ const props = defineProps({
variant: Object,
});
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["created"]);
const isLoading = ref(false);
const body = ref({

View File

@@ -5,7 +5,7 @@ import { isEqual, omitBy } from "es-toolkit";
const emit = defineEmits(["created"]);
const { $buildFileUrl, $copy, $empty, $getdata, $insertapi, $patchapi } = useNuxtApp();
const { $buildFileUrl, $copy, $empty, $insertapi } = useNuxtApp();
const isPending = ref(false);
const defaultBody = ref({
product: null,

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,7 +1,7 @@
<script setup>
import InputNumber from "~/components/common/InputNumber.vue";
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,7 +1,7 @@
<script setup>
import InputNumber from "~/components/common/InputNumber.vue";
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,7 +1,7 @@
<script setup>
import InputNumber from "~/components/common/InputNumber.vue";
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);

View File

@@ -1,5 +1,5 @@
<script setup>
const { $empty, $insertapi } = useNuxtApp();
const { $insertapi } = useNuxtApp();
const emit = defineEmits(["modalevent"]);
const isLoading = ref(false);