diff --git a/src/component.vue b/src/component.vue index a6b190d..1209f91 100644 --- a/src/component.vue +++ b/src/component.vue @@ -119,7 +119,7 @@ export default defineComponent({ watch( () => props.modelValue, (newValue) => { - if (emittedValue.value != newValue) { + if (emittedValue.value !== newValue) { maskedValue.value = formatNumber.format(newValue) } }