浏览代码

删除fuse选项maxPatternLength

RuoYi 2 年之前
父节点
当前提交
d9451837df
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/components/HeaderSearch/index.vue

+ 0 - 1
src/components/HeaderSearch/index.vue

@@ -65,7 +65,6 @@ function initFuse(list) {
     threshold: 0.4,
     location: 0,
     distance: 100,
-    maxPatternLength: 32,
     minMatchCharLength: 1,
     keys: [{
       name: 'title',