![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具库
文章平均质量分 68
howcoder
这个作者很懒,什么都没留下…
展开
-
原生websocket封装(心跳检测、自动重连)
较全面的原生websocket封装原创 2023-05-12 09:29:47 · 955 阅读 · 1 评论 -
DIY一款小程序
天啊!小程序也能DIY?原创 2022-10-10 14:16:16 · 2763 阅读 · 1 评论 -
实用函数工具库
数字操作 生成指定范围随机数 export const randomNum = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min; 数字千分位分隔 export const number_format(number, decimals, dec_point, thousands_sep) { /* * 参数说明: * number:要格式化的数字 * decimals:保留几位小数 * dec_poin原创 2021-10-18 10:59:11 · 452 阅读 · 1 评论