1 |
- const a=[{title:"ID",dataIndex:"id",width:80},{title:"\u59D3\u540D",dataIndex:"name",width:120},{title:"\u5E74\u9F84",dataIndex:"age",width:80},{title:"\u7F16\u53F7",dataIndex:"no",width:80},{title:"\u5730\u5740",dataIndex:"address"},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"beginTime"},{title:"\u7ED3\u675F\u65F6\u95F4",dataIndex:"endTime"}],d=(()=>{const t=[];for(let e=0;e<40;e++)t.push({id:`${e}`,name:`${e} John Brown`,age:`${e+10}`,no:`${e}98678`,address:"New York No. 1 Lake ParkNew York No. 1 Lake Park",beginTime:new Date().toLocaleString(),endTime:new Date().toLocaleString()});return t})(),n=a.map(t=>t.title),i=d.map(t=>Object.keys(t).map(e=>t[e]));export{i as a,n as b,a as c,d};
|