方案数据数据导出csv undefined问题修改
This commit is contained in:
@@ -357,7 +357,7 @@ const nodeClick = async (e: anyObj) => {
|
|||||||
const dialogRef = ref()
|
const dialogRef = ref()
|
||||||
const dailogForm = ref()
|
const dailogForm = ref()
|
||||||
const handleOpen = (val: any) => {
|
const handleOpen = (val: any) => {
|
||||||
if(!deviceData.value){
|
if (!deviceData.value) {
|
||||||
dialogRef.value.open(val, '')
|
dialogRef.value.open(val, '')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -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