first commit
This commit is contained in:
commit
eb2f504652
32490 changed files with 5731109 additions and 0 deletions
1
node_modules/vue-table-to-excel/dist/esm/index.esm.js
generated
vendored
Normal file
1
node_modules/vue-table-to-excel/dist/esm/index.esm.js
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
const e=new class{getXlsx(e,t,r="数据报表.xlsx"){if(!Array.isArray(e))throw new Error(`${e} is must be Array and not empty!`);if(!Array.isArray(t))throw new Error(`${t} is must be Array and not empty!`);let o=t.toString()+"\n";for(let t=0;t<e.length;t++){for(let r in e[t])o+=`${e[t][r]+"\t"},`;o+="\n"}let n="data:text/csv;charset=utf-8,\ufeff"+encodeURIComponent(o);var a=document.createElement("a");a.href=n,a.download=r,document.body.appendChild(a),a.click(),document.body.removeChild(a)}};window.jsontoexcel=e;const t=e;export{t as jsontoexcel};
|
||||
Loading…
Add table
Add a link
Reference in a new issue