小问题 修订
This commit is contained in:
@@ -274,8 +274,9 @@ 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 == 'boolean') t = 'b'
|
||||
// if (typeof v == 'Number') t = 'n'
|
||||
// else
|
||||
if (typeof v == 'boolean') t = 'b'
|
||||
else if (v instanceof Date) {
|
||||
t = 'd'
|
||||
// t = "n";
|
||||
|
||||
@@ -230,7 +230,7 @@ export default {
|
||||
title: "子件属性",
|
||||
align: "center",
|
||||
key: "std",
|
||||
width: 100,
|
||||
width: 130,
|
||||
},
|
||||
{
|
||||
title: "单台用量",
|
||||
|
||||
@@ -100,7 +100,7 @@ export default {
|
||||
},
|
||||
{
|
||||
title: "属性",
|
||||
width: 100,
|
||||
width: 130,
|
||||
align: "center",
|
||||
key: "std",
|
||||
},
|
||||
|
||||
@@ -107,6 +107,7 @@ export default {
|
||||
title: "属性",
|
||||
align: "center",
|
||||
key: "std",
|
||||
width: 130,
|
||||
className: "demo-table-info-old",
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user