Skip to content

Commit

Permalink
fix(search): local search showDetailedList not working in windows (#2253
Browse files Browse the repository at this point in the history
)
  • Loading branch information
zonemeen authored Apr 18, 2023
1 parent 1e9b925 commit 09be057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/theme-default/components/VPLocalSearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ debouncedWatch(
)
async function fetchExcerpt(id: string) {
const file = slash(pathToFile(id.slice(0, id.indexOf('#'))))
const file = pathToFile(slash(id.slice(0, id.indexOf('#'))))
try {
return { id, mod: await import(/*@vite-ignore*/ file) }
} catch (e) {
Expand Down

0 comments on commit 09be057

Please sign in to comment.