加入拼音搜索

This commit is contained in:
fofolee
2022-04-11 18:37:49 +08:00
parent c397f5f02f
commit 40e972cbf4
4 changed files with 9 additions and 20 deletions

View File

@@ -262,7 +262,7 @@ export default {
commands.forEach((cmd) => {
// 拼音搜索
let explain = cmd.features.explain;
let matchedWordPositions = window.pinYinMatch.match(
let matchedWordPositions = window.pinyinMatch(
explain,
this.commandSearchKeyword
);