Fork me on GitHub

07 2020 档案

摘要:1.把这段放在main.js中重启,手机上可以实现调试功能; (function () { var src = '//cdn.jsdelivr.net/npm/eruda'; // if (!/eruda=true/.test(window.location) && localStorage.get 阅读全文
posted @ 2020-07-30 15:38 欢欢11 阅读(2180) 评论(0) 推荐(0) 编辑
摘要:第一种: formatData(val) { if (val && val.toString().length > 4) { return val.toString().replace(/(.{4})/g, "$1,") } return val }, 第二种 fenGeString(str, nu 阅读全文
posted @ 2020-07-29 10:04 欢欢11 阅读(744) 评论(0) 推荐(0) 编辑
摘要:getDate() { var time_now_server, time_now_client, time_end, time_server_client; time_end = new Date("2020 07 22 18:50:50");//结束的时间 time_end = time_end 阅读全文
posted @ 2020-07-22 19:48 欢欢11 阅读(685) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示