function isZhWord(str: string): boolean { return /^[\u4e00-\u9fa5]+$/.test(str) } U4300-U9fa5代表了符合汉字GB18030规范的字符集