Skip to content

Commit c7a2dab

Browse files
committed
fix: route creation
1 parent 771b3d0 commit c7a2dab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/pages/package-code/@[[org]]/[packageName]/v/[version]/[...filePath].vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ const breadcrumbs = computed(() => {
201201
// Navigation helper - build URL for a path
202202
function getCurrentCodeUrl(path?: string): string {
203203
return getCodeUrl({
204-
org: route.params.org,
205-
packageName: packageName.value,
206-
version: version.value!,
204+
...route.params,
207205
filePath: path,
208206
})
209207
}

0 commit comments

Comments
 (0)