方案数据数据导出csv undefined问题修改
This commit is contained in:
@@ -357,7 +357,7 @@ const nodeClick = async (e: anyObj) => {
|
||||
const dialogRef = ref()
|
||||
const dailogForm = ref()
|
||||
const handleOpen = (val: any) => {
|
||||
if(!deviceData.value){
|
||||
if (!deviceData.value) {
|
||||
dialogRef.value.open(val, '')
|
||||
return
|
||||
}
|
||||
@@ -690,9 +690,12 @@ const handleExport = async () => {
|
||||
}
|
||||
let itemList: any = list[index].data[indexs]
|
||||
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] + ',')
|
||||
} else {
|
||||
index == list.length - 1 ? (strs += '/') : (strs += '/,')
|
||||
console.log(index, 'my')
|
||||
}
|
||||
})
|
||||
if (count == 0 && xAxis[indexs]) {
|
||||
|
||||
Reference in New Issue
Block a user