This commit is contained in:
Theluyuan 2022-12-12 10:21:12 +08:00
parent 077ae6f534
commit 45a0415848
4 changed files with 7 additions and 4 deletions

View File

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

View File

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

View File

@ -100,7 +100,8 @@ const input:any = ref<Element>()
watch(
() => props.modelValue,
() => {
if(!input.value.hasFocus() && props.qfw){
console.log(input)
if(!input.hasFocus() && props.qfw){
currentValue.value = formatMoney(props.modelValue.toString());
return
}

File diff suppressed because one or more lines are too long