refactor: remove Function
This commit is contained in:
parent
ae5f66eaa4
commit
1be5e15bf3
2 changed files with 1 additions and 3 deletions
|
|
@ -174,10 +174,9 @@ const insuranceCompanyFilter = selectFilterOptionRefMod(
|
||||||
color="red"
|
color="red"
|
||||||
:class="{ dark: $q.dark.isActive }"
|
:class="{ dark: $q.dark.isActive }"
|
||||||
@click.stop="
|
@click.stop="
|
||||||
() => {
|
async () => {
|
||||||
if (employeeCheckup?.[index].statusSave) {
|
if (employeeCheckup?.[index].statusSave) {
|
||||||
$emit('remove', index);
|
$emit('remove', index);
|
||||||
removeData(index);
|
|
||||||
} else {
|
} else {
|
||||||
removeData(index);
|
removeData(index);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,6 @@ const workplaceFilter = selectFilterOptionRefMod(
|
||||||
() => {
|
() => {
|
||||||
if (employeeWork?.[index].statusSave) {
|
if (employeeWork?.[index].statusSave) {
|
||||||
$emit('remove', index);
|
$emit('remove', index);
|
||||||
removeData(index);
|
|
||||||
} else {
|
} else {
|
||||||
removeData(index);
|
removeData(index);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue