7489-testToMaster #408
|
@ -55,8 +55,7 @@ defineExpose({
|
|||
|
||||
const inputRules = (val) => {
|
||||
const { min } = vnInputRef.value.$attrs;
|
||||
if (min >= 0)
|
||||
if (val.toString().indexOf('.') < min) return t('inputMin', { value: min });
|
||||
if (min >= 0) if (Math.floor(val) < min) return t('inputMin', { value: min });
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue