diff --git a/examples/Components/Routes/Suggestions/index.vue b/examples/Components/Routes/Suggestions/index.vue index 5c445e1fa..b03f10efb 100644 --- a/examples/Components/Routes/Suggestions/index.vue +++ b/examples/Components/Routes/Suggestions/index.vue @@ -134,7 +134,7 @@ export default { keys: ['name'], }) - return fuse.search(query) + return fuse.search(query).map( it => item); }, }), new Code(), diff --git a/package.json b/package.json index 6a4fe3456..551c4c377 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "eslint-plugin-import": "^2.18.2", "eslint-plugin-vue": "6.0.1", "file-loader": "^5.0.2", - "fuse.js": "^3.4.6", + "fuse.js": "^6.0.0", "glob": "^7.1.6", "html-webpack-plugin": "^3.2.0", "http-proxy-middleware": "^0.20.0",