mirror of
https://github.com/Art051/it-tools.git
synced 2025-08-11 19:29:03 +00:00
feat(new-tool): ipv4 address converter
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user