mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-21 15:26:15 -04:00
parent
b63c4b5415
commit
ecb4b1bb7b
3 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
label="Input base"
|
||||
outlined
|
||||
type="number"
|
||||
v-model="inputBase"
|
||||
v-model.number="inputBase"
|
||||
ref="inputBase"
|
||||
hide-details="auto"
|
||||
:rules="baseRules"
|
||||
|
@ -33,7 +33,7 @@
|
|||
label="Output base"
|
||||
outlined
|
||||
type="number"
|
||||
v-model="outputBase"
|
||||
v-model.number="outputBase"
|
||||
ref="outputBase"
|
||||
:rules="baseRules"
|
||||
/>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<v-card-text>
|
||||
<v-text-field
|
||||
outlined
|
||||
v-model="quantity"
|
||||
v-model.number="quantity"
|
||||
ref="quantity"
|
||||
type="number"
|
||||
label="Quantity"
|
||||
|
|
|
@ -25,7 +25,7 @@ const formatBytes = (bytes, decimals = 2) => {
|
|||
}
|
||||
|
||||
const isInt = (value) => {
|
||||
return Number.isInteger(parseFloat(value));
|
||||
return Number.isInteger(value);
|
||||
}
|
||||
|
||||
export {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue