fix: show value below barcode and qr code

This commit is contained in:
DarkPhoenix2704
2025-10-22 08:17:09 +00:00
parent d4b1c465ec
commit a4dda5ed6d
2 changed files with 23 additions and 2 deletions

View File

@@ -74,7 +74,18 @@ onMounted(generate)
@click="onBarcodeClick"
></svg>
<slot v-if="errorForCurrentInput" name="barcodeRenderError" />
<div v-if="props.showDownload" class="flex justify-end gap-2 py-2 px-3">
<div v-if="showDownload" class="bg-nc-bg-gray-light mx-4 px-3 py-2 rounded-lg">
<NcTooltip show-on-truncate-only class="truncate">
<template #title>
{{ barcodeValue }}
</template>
{{ barcodeValue }}
</NcTooltip>
</div>
<div v-if="showDownload" class="flex justify-end gap-2 py-2 px-3">
<NcTooltip>
<template #title>
{{ $t('labels.clickToCopy') }}