qfw
This commit is contained in:
@@ -95,10 +95,15 @@ watch(
|
||||
type.value = props.type;
|
||||
}
|
||||
);
|
||||
const input:any = ref<Element>()
|
||||
|
||||
watch(
|
||||
() => props.modelValue,
|
||||
() => {
|
||||
if(!input.value.hasFocus() && props.qfw){
|
||||
currentValue.value = formatMoney(props.modelValue.toString());
|
||||
return
|
||||
}
|
||||
currentValue.value = String(
|
||||
props.modelValue == null ? "" : props.modelValue
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user