修复导出错误
This commit is contained in:
@@ -274,8 +274,8 @@ export const export_col_to_excel = (colums, data, filename) => {
|
||||
ws[XLSX.utils.encode_cell({ c: _col.left, r: _dataRow })] = v
|
||||
} else {
|
||||
if (v) {
|
||||
// if (typeof v == 'Number') t = 'n'
|
||||
// else
|
||||
if (typeof v == 'number') t = 'n'
|
||||
else
|
||||
if (typeof v == 'boolean') t = 'b'
|
||||
else if (v instanceof Date) {
|
||||
t = 'd'
|
||||
|
||||
Reference in New Issue
Block a user