feat: 产品筛选器的模糊搜索功能

- 引入纯前端依赖Fuse.js用于模糊匹配
- 新增Utils-fuzzyFilter封装Fuse的初始化与匹配
- 在前端将字符串匹配改为模糊匹配
This commit is contained in:
2025-11-10 15:08:32 +08:00
parent 007c8f9ce9
commit 4c8dfb5b56
5 changed files with 116 additions and 16 deletions

3
pnpm-lock.yaml generated
View File

@ -47,6 +47,9 @@ importers:
element-plus:
specifier: ^2.10.7
version: 2.11.2(vue@3.5.21(typescript@5.9.2))
fuse.js:
specifier: ^7.1.0
version: 7.1.0
markdown-it:
specifier: ^14.1.0
version: 14.1.0