7489-testToMaster #408

Merged
alexm merged 292 commits from 7489-testToMaster into master 2024-05-28 05:33:17 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 6a81076874 - Show all commits

View File

@ -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>