|
|
@ -118,11 +118,13 @@ const deleteLink = async (id: string) => { |
|
|
|
<a-table-column key="password" :title="$t('labels.password')" data-index="title"> |
|
|
|
<a-table-column key="password" :title="$t('labels.password')" data-index="title"> |
|
|
|
<template #default="{ record }"> |
|
|
|
<template #default="{ record }"> |
|
|
|
<div class="flex align-center items-center gap-1"> |
|
|
|
<div class="flex align-center items-center gap-1"> |
|
|
|
<span class="h-min">{{ record.showPassword ? record.password : '***************************' }}</span> |
|
|
|
<template v-if="record.password"> |
|
|
|
<component |
|
|
|
<span class="h-min">{{ record.showPassword ? record.password : '***************************' }}</span> |
|
|
|
:is="record.showPassword ? MdiVisibilityOffIcon : MdiVisibilityOnIcon" |
|
|
|
<component |
|
|
|
@click="record.showPassword = !record.showPassword" |
|
|
|
:is="record.showPassword ? MdiVisibilityOffIcon : MdiVisibilityOnIcon" |
|
|
|
/> |
|
|
|
@click="record.showPassword = !record.showPassword" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</a-table-column> |
|
|
|
</a-table-column> |
|
|
|