From 6d8c8e975016eb75981bda2673182a5bfaa1eac9 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Tue, 11 Jul 2023 10:45:36 +0700 Subject: [PATCH] no message --- src/modules/04_registry/components/Information/top.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/04_registry/components/Information/top.vue b/src/modules/04_registry/components/Information/top.vue index 2a8221cf9..416a8f049 100644 --- a/src/modules/04_registry/components/Information/top.vue +++ b/src/modules/04_registry/components/Information/top.vue @@ -43,7 +43,7 @@ size="12px" flat round - v-if="edit" + v-if="edit && !addEmployee" :color="!edit ? 'grey-7' : 'red'" @click="ClickCancel" icon="mdi-undo" @@ -157,6 +157,10 @@ const props = defineProps({ type: Function, default: () => console.log("not function"), }, + addEmployee: { + type: Boolean, + defualt: false, + }, }); const emit = defineEmits(["update:edit"]);