- aggiornamento con proj RISO. postcss, pwa.
This commit is contained in:
@@ -60,14 +60,16 @@ export default defineComponent({
|
||||
const { t } = useI18n();
|
||||
|
||||
// Converti le props in riferimenti reattivi
|
||||
const { value, format, width, widthlines, height, fontsize } = toRefs(props);
|
||||
const { value, format, width, widthlines, height, fontsizeprop } = toRefs(props);
|
||||
|
||||
const fontsize = ref(<string>props.fontsizeprop)
|
||||
|
||||
// Funzione per disegnare il codice a barre
|
||||
const drawBarcode = () => {
|
||||
try {
|
||||
if (value.value && value.value.length > 2) {
|
||||
JsBarcode("#C" + value.value, value.value, {
|
||||
format: format.value,
|
||||
format: (format.value || 'CODE128'),
|
||||
width: widthlines.value,
|
||||
height: tools.convstrToNum(height.value),
|
||||
displayValue: true,
|
||||
|
||||
Reference in New Issue
Block a user