diff --git a/library/src/main/resources/rawfile/vtable_util.js b/library/src/main/resources/rawfile/vtable_util.js index 8af958c24c5d180d93e7f59e566ae61dcc2b7366..e245ad6bc2d9828105be113a5160c0b535b438c8 100644 --- a/library/src/main/resources/rawfile/vtable_util.js +++ b/library/src/main/resources/rawfile/vtable_util.js @@ -187,7 +187,12 @@ function unmergeCells(startCol, startRow, endCol, endRow) { } // 自定义渲染 function customRender(startCol, startRow, endCol, endRow, id,style) { + const newcolumn = { + ...optionTemp.columns[2], + width: 100, + } console.log("=====> customRender",JSON.stringify(optionTemp.columns[2])) + console.log("=====> customRender",JSON.stringify(newcolumn)) const styleObj = { borderColor:style, borderLineWidth:4