refactor: edit id btn

This commit is contained in:
Net 2024-09-26 15:11:36 +07:00
parent ebdf701fc3
commit 92b14328f2

View file

@ -1330,9 +1330,9 @@ const emptyCreateDialog = ref(false);
</q-td> </q-td>
<q-td> <q-td>
{{ console.log(props.row) }}
<q-btn <q-btn
v-if="props.row.branch[0].customerName" :id="`btn-eye-${props.row.branch[0].customerName || props.row.branch[0].firstName}`"
:id="`btn-eye-${props.row.branch[0].customerName}`"
dense dense
flat flat
@click.stop=" @click.stop="
@ -1369,9 +1369,8 @@ const emptyCreateDialog = ref(false);
</div> </div>
</q-btn> </q-btn>
<q-btn <q-btn
v-if="props.row.branch[0].customerName"
icon="mdi-eye-outline" icon="mdi-eye-outline"
:id="`btn-eye-${props.row.branch[0].customerName}`" :id="`btn-eye-${props.row.branch[0].customerName || props.row.branch[0].firstName}`"
size="sm" size="sm"
dense dense
round round