qfw
This commit is contained in:
parent
077ae6f534
commit
45a0415848
@ -129,7 +129,8 @@ const _sfc_main = defineComponent({
|
|||||||
});
|
});
|
||||||
const input = ref();
|
const input = ref();
|
||||||
watch(() => props.modelValue, () => {
|
watch(() => props.modelValue, () => {
|
||||||
if (!input.value.hasFocus() && props.qfw) {
|
console.log(input);
|
||||||
|
if (!input.hasFocus() && props.qfw) {
|
||||||
currentValue.value = formatMoney(props.modelValue.toString());
|
currentValue.value = formatMoney(props.modelValue.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -11225,7 +11225,8 @@ const _sfc_main$1v = defineComponent({
|
|||||||
});
|
});
|
||||||
const input = ref();
|
const input = ref();
|
||||||
watch(() => props.modelValue, () => {
|
watch(() => props.modelValue, () => {
|
||||||
if (!input.value.hasFocus() && props.qfw) {
|
console.log(input);
|
||||||
|
if (!input.hasFocus() && props.qfw) {
|
||||||
currentValue.value = formatMoney(props.modelValue.toString());
|
currentValue.value = formatMoney(props.modelValue.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -100,7 +100,8 @@ const input:any = ref<Element>()
|
|||||||
watch(
|
watch(
|
||||||
() => props.modelValue,
|
() => props.modelValue,
|
||||||
() => {
|
() => {
|
||||||
if(!input.value.hasFocus() && props.qfw){
|
console.log(input)
|
||||||
|
if(!input.hasFocus() && 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…
x
Reference in New Issue
Block a user