mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-25 17:26:15 -04:00
feat(new-tool): ipv4 address converter
This commit is contained in:
parent
28145e0ffe
commit
d7a503b4ae
2 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@ import { useValidation } from '@/composable/validation';
|
|||
import { convertBase } from '../integer-base-converter/integer-base-converter.model';
|
||||
import { ipv4ToInt, ipv4ToIpv6, isValidIpv4 } from './ipv4-address-converter.service';
|
||||
|
||||
const rawIpAddress = ref('192.168.1.1');
|
||||
const rawIpAddress = useStorage('ipv4-converter:ip', '192.168.1.1');
|
||||
|
||||
const convertedSections = computed(() => {
|
||||
const ipInDecimal = ipv4ToInt({ ip: rawIpAddress.value });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue