摘要:
// 给相同的增加rowSpan function dealWithData(list){ if(!list || !Array.isArray(list) || list.length 0){ return [] } list = [...list] let i = 0, j = 1 , id = 阅读全文
摘要:
function fillAllDays(arr, month) { const hasData = {}; arr.map((item, index) => { hasData[item.date] = index; }); const cdate = new Date(); //当前日期 con 阅读全文
摘要:
<script> let a = ['123','asd'] //允许中间有空格 a = a.map(item => { let arr = item.split('').join('\ {0,}') return arr }) // let str = "saldnkjasbdkjasd 123d 阅读全文