This commit is contained in:
2022-12-12 10:41:09 +08:00
parent f3c181ba88
commit 61c20fc6b6
4 changed files with 4 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ const _sfc_main = defineComponent({
const input = ref();
watch(() => props.modelValue, () => {
console.log(input);
if (!input.value.hasFocus() && props.qfw) {
if (!(input.value == document.activeElement) && props.qfw) {
currentValue.value = formatMoney(props.modelValue.toString());
return;
}