update fuse.js to v6 and fix Suggestion mention search

This commit is contained in:
Olivier Mills 2020-07-03 12:28:17 -06:00
parent 92eb2c61cc
commit 74ed35b310
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ export default {
keys: ['name'], keys: ['name'],
}) })
return fuse.search(query) return fuse.search(query).map( it => item);
}, },
}), }),
new Code(), new Code(),

View File

@ -47,7 +47,7 @@
"eslint-plugin-import": "^2.18.2", "eslint-plugin-import": "^2.18.2",
"eslint-plugin-vue": "6.0.1", "eslint-plugin-vue": "6.0.1",
"file-loader": "^5.0.2", "file-loader": "^5.0.2",
"fuse.js": "^3.4.6", "fuse.js": "^6.0.0",
"glob": "^7.1.6", "glob": "^7.1.6",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"http-proxy-middleware": "^0.20.0", "http-proxy-middleware": "^0.20.0",