changes
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
import InventoryHighlightCard from "~/components/inventory/InventoryHighlightCard.vue";
|
||||
import InventoryTable from "~/components/inventory/InventoryTable.vue";
|
||||
|
||||
const { $store } = useNuxtApp();
|
||||
const inventoryHighlights = [
|
||||
{
|
||||
name: "Tổng số SKU",
|
||||
|
||||
@@ -5,7 +5,6 @@ const props = defineProps({
|
||||
});
|
||||
|
||||
const emit = defineEmits(["selectInvItem", "unselect"]);
|
||||
const { $dayjs } = useNuxtApp();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
const props = defineProps({
|
||||
invItem: Object,
|
||||
});
|
||||
|
||||
const { $dayjs, $formatNum } = useNuxtApp();
|
||||
const emit = defineEmits("unselect");
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -14,7 +11,7 @@ const emit = defineEmits("unselect");
|
||||
>
|
||||
<div class="card">
|
||||
<button
|
||||
@click="emit('unselect')"
|
||||
@click="$emit('unselect')"
|
||||
class="button is-white rounded-full has-text-grey absolute size-8 is-flex is-justify-content-center is-align-items-center"
|
||||
style="z-index: 1; right: 0.5rem; top: 0.5rem"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user