qfw
This commit is contained in:
parent
f3c181ba88
commit
61c20fc6b6
@ -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;
|
||||
}
|
||||
|
@ -11226,7 +11226,7 @@ const _sfc_main$1v = 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;
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ 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
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user