1、拼音转换、拼音首字母、拼音汉字匹配、自定义拼音 安装 npm install pinyin-pro --save 使用 import { pinyin } from 'pinyin-pro'; 官网文档:http://pinyin-pro.cn/use/customPinyin.html