摘要:
汉字和数字混合时,按照长度进行字符截取。 <script> /** * JS实现中英文混合文字溢出友好截取功能 * @param text 字符串 * @param length 截取长度 */ var zfc = {}; zfc.mixTextOverflow = function (text, 阅读全文
posted @ 2023-07-05 10:37
Fengnuoyiman
阅读(50)
评论(0)
推荐(0)
浙公网安备 33010602011771号