diff --git a/src/components/ui/VnToSummary.vue b/src/components/ui/VnToSummary.vue index 1c7d6cf01..305d65e02 100644 --- a/src/components/ui/VnToSummary.vue +++ b/src/components/ui/VnToSummary.vue @@ -1,6 +1,5 @@ diff --git a/src/pages/Order/Card/OrderCatalog.vue b/src/pages/Order/Card/OrderCatalog.vue index a266fc3d4..66a1a132d 100644 --- a/src/pages/Order/Card/OrderCatalog.vue +++ b/src/pages/Order/Card/OrderCatalog.vue @@ -4,18 +4,19 @@ import { useRoute, useRouter } from 'vue-router'; import { onBeforeMount, onMounted, onUnmounted, ref, computed, watch } from 'vue'; import axios from 'axios'; import { useI18n } from 'vue-i18n'; -import VnPaginate from 'components/ui/VnPaginate.vue'; -import CatalogItem from 'components/ui/CatalogItem.vue'; -import OrderCatalogFilter from 'pages/Order/Card/OrderCatalogFilter.vue'; +import VnPaginate from 'src/components/ui/VnPaginate.vue'; +import CatalogItem from 'src/components/ui/CatalogItem.vue'; +import OrderCatalogFilter from 'src/pages/Order/Card/OrderCatalogFilter.vue'; import VnSearchbar from 'src/components/ui/VnSearchbar.vue'; import getParamWhere from 'src/filters/getParamWhere'; -import { useArrayData } from 'composables/useArrayData'; +import { useArrayData } from 'src/composables/useArrayData'; const route = useRoute(); const router = useRouter(); const stateStore = useStateStore(); const { t } = useI18n(); -const arrayData = useArrayData('OrderCatalogList'); +const dataKey = 'OrderCatalogList'; +const arrayData = useArrayData(dataKey); const store = arrayData.store; const showFilter = ref(null); const tags = ref([]); @@ -102,7 +103,7 @@ watch(