Skip to content

Commit 8b1a8ce

Browse files
committed
feat(Url Parser): add hash/fragment and host
Fix CorentinTh#1560
1 parent d412d9b commit 8b1a8ce

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ declare module '@vue/runtime-core' {
166166
'IconMdi:brushVariant': typeof import('~icons/mdi/brush-variant')['default']
167167
'IconMdi:contentCopy': typeof import('~icons/mdi/content-copy')['default']
168168
'IconMdi:kettleSteamOutline': typeof import('~icons/mdi/kettle-steam-outline')['default']
169+
IconMdiArrowRightBottom: typeof import('~icons/mdi/arrow-right-bottom')['default']
169170
IconMdiChevronDown: typeof import('~icons/mdi/chevron-down')['default']
170171
IconMdiChevronRight: typeof import('~icons/mdi/chevron-right')['default']
171172
IconMdiClose: typeof import('~icons/mdi/close')['default']

src/tools/url-parser/url-parser.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ const properties: { title: string; key: keyof URL }[] = [
4141
{ title: 'Username', key: 'username' },
4242
{ title: 'Password', key: 'password' },
4343
{ title: 'Hostname', key: 'hostname' },
44+
{ title: 'Host', key: 'host' },
4445
{ title: 'Port', key: 'port' },
4546
{ title: 'Path', key: 'pathname' },
47+
{ title: 'Fragment', key: 'hash' },
4648
{ title: 'Params', key: 'search' },
4749
];
4850
</script>

0 commit comments

Comments
 (0)