摘要: 点击查看代码 添加千分位 function addThousandSeparator(num, separator = ",") { return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, separator); } num.toString() 阅读全文
posted @ 2024-04-18 16:11 jialiangzai 阅读(41) 评论(1) 推荐(0)
摘要: 点击查看代码 const baseUrl = 'https://wxyd.jckkan.com/index.php' //生产用 let retryCount = 1; const maxRetry = 2; // 最大重试次数,比如设置为3 let isRefreshing = false let 阅读全文
posted @ 2024-04-18 15:41 jialiangzai 阅读(42) 评论(0) 推荐(0)
摘要: https://larryzhu-dev.github.io/autoLarryPages/autolog.js/ https://github.com/TheWindRises-2/coco-message 阅读全文
posted @ 2024-04-18 11:58 jialiangzai 阅读(91) 评论(0) 推荐(0)