Use vue-typecast

https://vuejs.org/v2/guide/forms.html#number
This commit is contained in:
Alexander Janke authored and Corentin Thomasset committed 2020-06-15 22:10:08 +02:00
1 parent 89713c4986
commit f6da2a44e5
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ const formatBytes = (bytes, decimals = 2) => {
}
const isInt = (value) => {
return Number.isInteger(parseFloat(value));
return Number.isInteger(value);
}
export {