fix avatar

parent 54b4064c
...@@ -69,8 +69,19 @@ ...@@ -69,8 +69,19 @@
separator="cell" separator="cell"
hide-pagination hide-pagination
> >
<template v-slot:body-cell-action="item"> <template v-slot:body-cell-avatar="avatar">
<q-td style="padding: 0" class="flex flex-center"> <q-td style="padding: 0" class="flex flex-center">
<q-img
style="width: 7rem"
fit="contain"
:ratio="16 / 9"
:src="avatar.row.avatar"
></q-img>
</q-td>
</template>
<template v-slot:body-cell-action="item">
<q-td style="padding: 0">
<div align="center">
<q-btn <q-btn
flat flat
round round
...@@ -93,6 +104,7 @@ ...@@ -93,6 +104,7 @@
$t('managingUnit.toolTipMessage.delete') $t('managingUnit.toolTipMessage.delete')
}}</q-tooltip> }}</q-tooltip>
</q-btn> </q-btn>
</div>
</q-td> </q-td>
</template> </template>
</q-table> </q-table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment