摘要:
获取最近七天(含今天) const lastSevenDays = () => { const days = [] for (let i = 6; i >= 0; i--) { const day = new Date() day.setDate(day.getDate() - i) const m 阅读全文
摘要:
网上看到的一段烂代码,勉强有用 function getTel(){ var n = 2,telstr = '1'; while(n<12){ if(n<3){ while(1){ var nums = Math.floor(Math.random()*10); if(nums!==0&&nums! 阅读全文