fix(search): local search showDetailedList not working in windows (#2253)

pull/2254/head
烽宁 1 year ago committed by GitHub
parent 1e9b925c75
commit 09be057ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {

Loading…
Cancel
Save