方案数据数据导出csv undefined问题修改
This commit is contained in:
@@ -690,9 +690,12 @@ const handleExport = async () => {
|
|||||||
}
|
}
|
||||||
let itemList: any = list[index].data[indexs]
|
let itemList: any = list[index].data[indexs]
|
||||||
if (itemList && itemList.length != 0) {
|
if (itemList && itemList.length != 0) {
|
||||||
|
console.log(itemList, 'hhhhh')
|
||||||
|
itemList[1] = itemList[1] ? itemList[1] : '/'
|
||||||
index == list.length - 1 ? (strs += itemList[1]) : (strs += itemList[1] + ',')
|
index == list.length - 1 ? (strs += itemList[1]) : (strs += itemList[1] + ',')
|
||||||
} else {
|
} else {
|
||||||
index == list.length - 1 ? (strs += '/') : (strs += '/,')
|
index == list.length - 1 ? (strs += '/') : (strs += '/,')
|
||||||
|
console.log(index, 'my')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (count == 0 && xAxis[indexs]) {
|
if (count == 0 && xAxis[indexs]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user