no message
This commit is contained in:
parent
cf343f7b8f
commit
6d8c8e9750
1 changed files with 5 additions and 1 deletions
|
|
@ -43,7 +43,7 @@
|
||||||
size="12px"
|
size="12px"
|
||||||
flat
|
flat
|
||||||
round
|
round
|
||||||
v-if="edit"
|
v-if="edit && !addEmployee"
|
||||||
:color="!edit ? 'grey-7' : 'red'"
|
:color="!edit ? 'grey-7' : 'red'"
|
||||||
@click="ClickCancel"
|
@click="ClickCancel"
|
||||||
icon="mdi-undo"
|
icon="mdi-undo"
|
||||||
|
|
@ -157,6 +157,10 @@ const props = defineProps({
|
||||||
type: Function,
|
type: Function,
|
||||||
default: () => console.log("not function"),
|
default: () => console.log("not function"),
|
||||||
},
|
},
|
||||||
|
addEmployee: {
|
||||||
|
type: Boolean,
|
||||||
|
defualt: false,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const emit = defineEmits(["update:edit"]);
|
const emit = defineEmits(["update:edit"]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue