This commit is contained in:
Theluyuan 2022-12-12 10:01:21 +08:00
parent f99c22984f
commit b12826594e
4 changed files with 1 additions and 13 deletions

View File

@ -124,10 +124,6 @@ const _sfc_main = defineComponent({
type.value = props.type; type.value = props.type;
}); });
watch(() => props.modelValue, () => { watch(() => props.modelValue, () => {
if (props.qfw) {
currentValue.value = formatMoney(props.modelValue.toString());
return;
}
currentValue.value = String(props.modelValue == null ? "" : props.modelValue); currentValue.value = String(props.modelValue == null ? "" : props.modelValue);
}); });
const onInput = function(event) { const onInput = function(event) {

View File

@ -11220,10 +11220,6 @@ const _sfc_main$1v = defineComponent({
type4.value = props.type; type4.value = props.type;
}); });
watch(() => props.modelValue, () => { watch(() => props.modelValue, () => {
if (props.qfw) {
currentValue.value = formatMoney(props.modelValue.toString());
return;
}
currentValue.value = String(props.modelValue == null ? "" : props.modelValue); currentValue.value = String(props.modelValue == null ? "" : props.modelValue);
}); });
const onInput = function(event) { const onInput = function(event) {

View File

@ -94,10 +94,6 @@ watch(
watch( watch(
() => props.modelValue, () => props.modelValue,
() => { () => {
if(props.qfw){
currentValue.value = formatMoney(props.modelValue.toString());
return ;
}
currentValue.value = String( currentValue.value = String(
props.modelValue == null ? "" : props.modelValue props.modelValue == null ? "" : props.modelValue
); );

File diff suppressed because one or more lines are too long