节点:保存添加参数protocol
This commit is contained in:
parent
e61c278b65
commit
b4fced47ff
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user