This commit is contained in:
sjl
2026-01-06 08:35:36 +08:00
parent fd09e24cf0
commit cb19fef4c6
88 changed files with 117 additions and 135 deletions

View File

@@ -31,7 +31,7 @@ const exportExcel = function(luckysheet, value) {
const blob = new Blob([data], {
type: 'application/vnd.ms-excel;charset=utf-8'
})
console.log("导出成功!")
FileSaver.saveAs(blob, `${value}.xlsx`)
})
return buffer

View File

@@ -107,7 +107,7 @@ const preservation = () => {
const submitForm = (formdata: any, text: string) => {
// let userStr = JSON.stringify(luckysheet.getAllSheets())
let userStr = luckysheet.getAllSheets()
console.log('🚀 ~ submitForm ~ userStr:', userStr)
userStr.forEach((item: any) => {
item.data1 = JSON.stringify(item.data)
})