This commit is contained in:
Theluyuan 2022-12-12 09:22:47 +08:00
parent ad671dc37b
commit db74c76a3a
4 changed files with 1 additions and 10 deletions

View File

@ -106,9 +106,6 @@ const _sfc_main = defineComponent({
type.value = props.type; type.value = props.type;
}); });
watch(() => props.modelValue, () => { watch(() => props.modelValue, () => {
if (props.qfw && currentValue.value.indexOf(",") != -1) {
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

@ -11202,9 +11202,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.indexOf(",") != -1) {
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

@ -73,9 +73,6 @@ watch(
watch( watch(
() => props.modelValue, () => props.modelValue,
() => { () => {
if(props.qfw && currentValue.value.indexOf(",") != -1){
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