feat(Url Parser): add hash/fragment and host

Fix #1560
This commit is contained in:
ShareVB committed 2025-04-12 17:47:52 +02:00
1 parent d412d9b583
commit 8b1a8cead8
2 files changed
+3

No files matched your search

+1
View File
@@ -166,6 +166,7 @@ declare module '@vue/runtime-core' {
'IconMdi:brushVariant': typeof import('~icons/mdi/brush-variant')['default'] 'IconMdi:brushVariant': typeof import('~icons/mdi/brush-variant')['default']
'IconMdi:contentCopy': typeof import('~icons/mdi/content-copy')['default'] 'IconMdi:contentCopy': typeof import('~icons/mdi/content-copy')['default']
'IconMdi:kettleSteamOutline': typeof import('~icons/mdi/kettle-steam-outline')['default'] 'IconMdi:kettleSteamOutline': typeof import('~icons/mdi/kettle-steam-outline')['default']
IconMdiArrowRightBottom: typeof import('~icons/mdi/arrow-right-bottom')['default']
IconMdiChevronDown: typeof import('~icons/mdi/chevron-down')['default'] IconMdiChevronDown: typeof import('~icons/mdi/chevron-down')['default']
IconMdiChevronRight: typeof import('~icons/mdi/chevron-right')['default'] IconMdiChevronRight: typeof import('~icons/mdi/chevron-right')['default']
IconMdiClose: typeof import('~icons/mdi/close')['default'] IconMdiClose: typeof import('~icons/mdi/close')['default']
+2
View File
@@ -41,8 +41,10 @@ const properties: { title: string; key: keyof URL }[] = [
{ title: 'Username', key: 'username' }, { title: 'Username', key: 'username' },
{ title: 'Password', key: 'password' }, { title: 'Password', key: 'password' },
{ title: 'Hostname', key: 'hostname' }, { title: 'Hostname', key: 'hostname' },
{ title: 'Host', key: 'host' },
{ title: 'Port', key: 'port' }, { title: 'Port', key: 'port' },
{ title: 'Path', key: 'pathname' }, { title: 'Path', key: 'pathname' },
{ title: 'Fragment', key: 'hash' },
{ title: 'Params', key: 'search' }, { title: 'Params', key: 'search' },
]; ];
</script> </script>