1. 核心函数// 将中文字符串转换为拼音首字母function convertToPinyinInitials(chineseString) { const pinyinArray = pinyin(chineseString, { toneType: 'none' }).spl