微调
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user