Commit f0a9c83e06
Unsigned
Layout: unified · split
docs/.vitepress/theme/Layout.vue +1 −1
| @@ -101,7 +101,7 @@ const getScrollTargetForAnchor = (target: HTMLElement) => { | ||
| 101 | 101 | return target |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | const TAB_QUERY_PARAM = 'tabs' | |
| 104 | const TAB_QUERY_PARAM = 't' | |
| 105 | 105 | const COLLAPSIBLE_QUERY_PARAM = 'c' |
| 106 | 106 | |
| 107 | 107 | const getRequestedAnchorPath = (param: string) => { |
docs/.vitepress/theme/components/Search.vue +1 −1
| @@ -1582,7 +1582,7 @@ const router = useRouter() | ||
| 1582 | 1582 | function buildResultHref(pageId: string, tabs?: string[], anchor = '') { |
| 1583 | 1583 | const params: string[] = [] |
| 1584 | 1584 | if (tabs?.length) { |
| 1585 | params.push(`tabs=${tabs.map((tab) => encodeURIComponent(tab)).join(',')}`) | |
| 1585 | params.push(`t=${tabs.map((tab) => encodeURIComponent(tab)).join(',')}`) | |
| 1586 | 1586 | } |
| 1587 | 1587 | |
| 1588 | 1588 | let hash = '' |