Browse Source

fix: qr version

pull/6140/head
sreehari jayaraj 1 year ago
parent
commit
21acd923e8
  1. 3
      packages/nc-gui/components/virtual-cell/QrCode.vue

3
packages/nc-gui/components/virtual-cell/QrCode.vue

@ -3,7 +3,7 @@ import { useQRCode } from '@vueuse/integrations/useQRCode'
import type QRCode from 'qrcode'
import { RowHeightInj, computed, inject, ref } from '#imports'
const maxNumberOfAllowedCharsForQrValue = 62
const maxNumberOfAllowedCharsForQrValue = 2000
const cellValue = inject(CellValueInj)
@ -16,7 +16,6 @@ const showQrCode = computed(() => qrValue?.value?.length > 0 && !tooManyCharsFor
const qrCodeOptions: QRCode.QRCodeToDataURLOptions = {
errorCorrectionLevel: 'M',
margin: 1,
version: 4,
rendererOpts: {
quality: 1,
},

Loading…
Cancel
Save