|
|
@ -125,7 +125,7 @@ const deleteLink = async (id: string) => { |
|
|
|
<template #default="{ record }"> |
|
|
|
<template #default="{ record }"> |
|
|
|
<div class="flex items-center items-center gap-1"> |
|
|
|
<div class="flex items-center items-center gap-1"> |
|
|
|
<template v-if="record.password"> |
|
|
|
<template v-if="record.password"> |
|
|
|
<span class="h-min">{{ record.showPassword ? record.password : '***************************' }}</span> |
|
|
|
<span class="h-min max-w-[250px]">{{ record.showPassword ? record.password : Array(record.password.length + 1).join("*") }}</span> |
|
|
|
<component |
|
|
|
<component |
|
|
|
:is="record.showPassword ? MdiVisibilityOffIcon : MdiVisibilityOnIcon" |
|
|
|
:is="record.showPassword ? MdiVisibilityOffIcon : MdiVisibilityOnIcon" |
|
|
|
@click="record.showPassword = !record.showPassword" |
|
|
|
@click="record.showPassword = !record.showPassword" |
|
|
|