摘要: /*导入*/ let nodeData = ref() // 文件上传 const uploadFile = function(file) { var groups = [] // excel文件 —— array const reader = new FileReader(); reader.re 阅读全文
posted @ 2024-07-31 16:14 nnc 阅读(13) 评论(0) 推荐(0) 编辑
摘要: /*导出*/ const s2ab = function(s) { const buf = new ArrayBuffer(s.length); const view = new Uint8Array(buf); for(let i = 0; i < s.length; i++) view[i] = 阅读全文
posted @ 2024-07-31 16:12 nnc 阅读(6) 评论(0) 推荐(0) 编辑