- il catalogo si aggiorna in base alle impostazioni del template anche per la "Stampa"
This commit is contained in:
@@ -57,12 +57,14 @@ export default defineComponent({
|
||||
|
||||
const sliderValue = computed({
|
||||
get: () => {
|
||||
if (!props.modelValue)
|
||||
return ''
|
||||
const mystr = props.modelValue + ''
|
||||
return mystr.replace(props.addstr, '')
|
||||
if (!props.modelValue) return 0;
|
||||
const clean = String(props.modelValue).replace(props.addstr, '');
|
||||
return Number(clean) || 0;
|
||||
},
|
||||
set: (value) => emit('update:modelValue', value ? value + props.addstr : '')
|
||||
set: (value) => {
|
||||
const valWithSuffix = value ? value + props.addstr : '';
|
||||
emit('update:modelValue', valWithSuffix);
|
||||
}
|
||||
})
|
||||
|
||||
function valoreinc() {
|
||||
|
||||
Reference in New Issue
Block a user