7430_devToTest #388

Merged
alexm merged 282 commits from 7430_devToTest into test 2024-05-21 09:26:36 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 6a81076874 - Show all commits
src/components/common

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>