no message

This commit is contained in:
Kittapath 2023-07-11 10:45:36 +07:00
parent cf343f7b8f
commit 6d8c8e9750

View file

@ -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"]);