diff --git a/src/components/DesignForm/app/index.vue b/src/components/DesignForm/app/index.vue index 0910546..ba325bd 100644 --- a/src/components/DesignForm/app/index.vue +++ b/src/components/DesignForm/app/index.vue @@ -1807,14 +1807,14 @@ const readerColumnSun = (column: any) => { }; //shuju const tableChildren = (field:string,dataList:any) => { - console.log("表头label长度-1->", field); - console.log("表头label长度-2->", dataList); + // console.log("表头label长度-1->", field); + // console.log("表头label长度-2->", dataList); // console.log("表头label长度-->", isObject(dataList)); let jieguo = "" if(Array.isArray(dataList)){ dataList.forEach((item:any,key:string) => { - + console.log("表头label长度-item--->",field, item); if(isObject(item)){ for (let key in item) { @@ -1822,7 +1822,12 @@ const tableChildren = (field:string,dataList:any) => { if (field == key){ // console.log("表头label长度--结果>", item[key]); // return item[key] - jieguo = item[key] + if(jieguo!=""){ +jieguo = jieguo+"
"+item[key] + }else{ + jieguo = item[key] + } + } } } @@ -2066,7 +2071,7 @@ const isObject = (obj) => { - + { align="center" >