mirror of
				https://github.com/CorentinTh/it-tools.git
				synced 2025-11-03 18:37:00 -05:00 
			
		
		
		
	
							parent
							
								
									b63c4b5415
								
							
						
					
					
						commit
						ecb4b1bb7b
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user