|
@@ -382,8 +382,10 @@ const excelClick = async (item) => {
|
|
const data = await getDomAttribute(item)
|
|
const data = await getDomAttribute(item)
|
|
const arr = getArrValue(formDataArr.value)
|
|
const arr = getArrValue(formDataArr.value)
|
|
const index = arrIndex(arr, 'key', data.key)
|
|
const index = arrIndex(arr, 'key', data.key)
|
|
- // const colName = data.name || data.text || data.key
|
|
|
|
- const colName = data.text
|
|
|
|
|
|
+ console.log(data, 'data')
|
|
|
|
+
|
|
|
|
+ const colName = data.text || data.key
|
|
|
|
+ // const colName = data.text
|
|
const htmlType = index !== -1 ? arr[index].htmlType : ''
|
|
const htmlType = index !== -1 ? arr[index].htmlType : ''
|
|
const htmlName = index !== -1 ? arr[index].htmlName : ''
|
|
const htmlName = index !== -1 ? arr[index].htmlName : ''
|
|
const type = index !== -1 ? arr[index].type : ''
|
|
const type = index !== -1 ? arr[index].type : ''
|