//判断字节数 export function nameBytes(str) { let personNameBytes = str.replace(/[^\x00-\xff]/g, '01').length return personNameBytes }
前端判断字节数
猜你喜欢
转载自www.cnblogs.com/ChineseLiao/p/12396201.html
今日推荐
周排行