Skip to content

showDetailedList not work #2244

@imbyter

Description

@imbyter

Describe the bug

showDetailedList not work in Local search function。

I am in dev mode, the error:

TypeError: Failed to resolve module specifier '\测试\14.md?t=1681703812524'
    at fetchExcerpt (VPLocalSearchBox.vue:204:53)
    at VPLocalSearchBox.vue:136:52
    at Array.map (<anonymous>)
    at debouncedWatch.debounce (VPLocalSearchBox.vue:136:41)
    at Promise.resolve.filter.fn.fn (index.mjs?v=1aac7394:327:39)
    at index.mjs?v=1aac7394:370:17

index.mjs?v=1aac7394:327

function createFilterWrapper(filter, fn) {
  function wrapper(...args) {
    return new Promise((resolve, reject) => {
      Promise.resolve(filter(() => fn.apply(this, args), { fn, thisArg: this, args })).then(resolve).catch(reject);
    });
  }
  return wrapper;
}

the error cause on: Promise.resolve(filter(() => fn.apply(this, args), { fn, thisArg: this, args })).then(resolve).catch(reject);

Reproduction

...

Expected behavior

...

System Info

...

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions