diff --git a/pinyinUtil.js b/pinyinUtil.js index 9feb870..6142fc1 100644 --- a/pinyinUtil.js +++ b/pinyinUtil.js @@ -222,11 +222,26 @@ { var py = this.getPinyin(str, ' ', false, polyphone); py = py instanceof Array ? py : [py]; + var result = []; for(var i=0; i