Skip to content

Commit 5239e7b

Browse files
committed
Update README.md
1 parent 5aa49f2 commit 5239e7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ console.log(pinyin("中心", {
6565
style: pinyin.STYLE_INITIALS, // 设置拼音风格
6666
heteronym: true
6767
})); // [ [ 'zh' ], [ 'x' ] ]
68+
69+
//[angular-moon]增加了一个新的方法,用于生产包含多音字的字符串(主要用于前端检索)
70+
console.log(pinyin.buildSearchString("重庆")); //chongqing zhongqing cq zq
6871
```
6972

7073
命令行:

0 commit comments

Comments
 (0)