节点:保存添加参数protocol

This commit is contained in:
高云鹏 2024-11-22 16:44:41 +08:00
parent e61c278b65
commit b4fced47ff

View File

@ -706,6 +706,7 @@ export const createUpLoadExcelData = (workbookData: any) => {
sheetData.linkId = workbookData.name
sheetData[sheetkeyMap[fieldKey]] = sheets[item].cellData[key][fieldKey]?.v ?? ''
sheetData.type = sheets[item].cellData[key][fieldKey].custom.type
sheetData.protocol = sheets[item].cellData[key][fieldKey].custom.protocol
continue
}
if (fieldKey === '1') {
@ -745,6 +746,7 @@ export const createSheetData = (data: any, protocol: string | number) => {
if (col === '0') {
custom = {}
custom.type = item
custom.protocol = Number(protocol)
custom.otherData = obj
}
result[row][col] = { v: obj[field], s: '1', custom }