qfw
This commit is contained in:
parent
f3c181ba88
commit
61c20fc6b6
@ -130,7 +130,7 @@ const _sfc_main = defineComponent({
|
|||||||
const input = ref();
|
const input = ref();
|
||||||
watch(() => props.modelValue, () => {
|
watch(() => props.modelValue, () => {
|
||||||
console.log(input);
|
console.log(input);
|
||||||
if (!input.value.hasFocus() && props.qfw) {
|
if (!(input.value == document.activeElement) && props.qfw) {
|
||||||
currentValue.value = formatMoney(props.modelValue.toString());
|
currentValue.value = formatMoney(props.modelValue.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -11226,7 +11226,7 @@ const _sfc_main$1v = defineComponent({
|
|||||||
const input = ref();
|
const input = ref();
|
||||||
watch(() => props.modelValue, () => {
|
watch(() => props.modelValue, () => {
|
||||||
console.log(input);
|
console.log(input);
|
||||||
if (!input.value.hasFocus() && props.qfw) {
|
if (!(input.value == document.activeElement) && props.qfw) {
|
||||||
currentValue.value = formatMoney(props.modelValue.toString());
|
currentValue.value = formatMoney(props.modelValue.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -101,7 +101,7 @@ watch(
|
|||||||
() => props.modelValue,
|
() => props.modelValue,
|
||||||
() => {
|
() => {
|
||||||
console.log(input)
|
console.log(input)
|
||||||
if(!input.value.hasFocus() && props.qfw){
|
if(!(input.value == document.activeElement) && props.qfw){
|
||||||
currentValue.value = formatMoney(props.modelValue.toString());
|
currentValue.value = formatMoney(props.modelValue.toString());
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user