diff --git a/src/views/govern/device/planData/index.vue b/src/views/govern/device/planData/index.vue index 8c984cb..a2906f9 100644 --- a/src/views/govern/device/planData/index.vue +++ b/src/views/govern/device/planData/index.vue @@ -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]) {