From 80f1e7275f7a1f20d464da863b2770c70a2500ca Mon Sep 17 00:00:00 2001 From: Viet An Date: Thu, 21 May 2026 11:42:36 +0700 Subject: [PATCH] changes --- app/components/Caption.vue | 5 +- app/components/common/Avatarbox.vue | 2 +- app/components/datatable/ContextMenu.vue | 46 +++++++--- app/components/datatable/CreateTemplate.vue | 2 +- app/components/datatable/DataView.vue | 4 +- app/components/datatable/ScrollBox.vue | 94 ++++++++++++++++++-- app/components/imports/EditProductButton.vue | 25 +++--- app/components/imports/IMEIButton.vue | 32 ++++--- app/components/menu/MenuAction.vue | 5 +- app/pages/index.vue | 2 +- 10 files changed, 158 insertions(+), 59 deletions(-) diff --git a/app/components/Caption.vue b/app/components/Caption.vue index 5f60169..89d514c 100644 --- a/app/components/Caption.vue +++ b/app/components/Caption.vue @@ -2,7 +2,10 @@ {{ title }} - + diff --git a/app/components/common/Avatarbox.vue b/app/components/common/Avatarbox.vue index 84c6988..19651b4 100644 --- a/app/components/common/Avatarbox.vue +++ b/app/components/common/Avatarbox.vue @@ -3,7 +3,7 @@ const props = defineProps({ text: String, image: String, type: String, - size: Number, + size: String, }); diff --git a/app/components/imports/IMEIButton.vue b/app/components/imports/IMEIButton.vue index 6e292fe..f1c209a 100644 --- a/app/components/imports/IMEIButton.vue +++ b/app/components/imports/IMEIButton.vue @@ -2,32 +2,30 @@ const props = defineProps({ variant: Object, }); -const showModal = ref(null); diff --git a/app/components/menu/MenuAction.vue b/app/components/menu/MenuAction.vue index 991accd..b93dbef 100644 --- a/app/components/menu/MenuAction.vue +++ b/app/components/menu/MenuAction.vue @@ -6,7 +6,7 @@ @@ -16,7 +16,4 @@ import { useAttrs } from "vue"; const attrs = useAttrs(); const emit = defineEmits(["edit", "remove"]); -const remove = function () { - emit("remove"); -}; diff --git a/app/pages/index.vue b/app/pages/index.vue index bebbd49..4607773 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -15,7 +15,7 @@ {{ tab[$store.lang] }} {{ subtab[$store.lang] }}