Commit 9ac51576 authored by hetech's avatar hetech Committed by GitHub

Table: fix cell width when colspan is grater than 1 (#15196)

parent 5ecf4c28
......@@ -88,11 +88,15 @@ export default {
if (!rowspan || !colspan) {
return '';
} else {
const columnData = { ...column };
if (colspan !== 1) {
columnData.realWidth = columnData.realWidth * colspan;
}
const data = {
store: this.store,
_self: this.context || this.table.$vnode.context,
column: columnData,
row,
column,
$index
};
if (cellIndex === this.firstDefaultColumnIndex && treeNode) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment