✨(component): 切换分支前的提交准备
This commit is contained in:
parent
add05fa4aa
commit
554501f6d6
@ -213,7 +213,7 @@ const findFinalNode = (level: number, columns: any[]) => {
|
|||||||
}
|
}
|
||||||
// 如果列固定,并且 width 不存在, 设置默认值
|
// 如果列固定,并且 width 不存在, 设置默认值
|
||||||
if (column.fixed && !column.width) {
|
if (column.fixed && !column.width) {
|
||||||
column.type ? column.width = "50px" : column.width = "100px";
|
column.type ? (column.width = "50px") : (column.width = "100px");
|
||||||
}
|
}
|
||||||
tableHeadColumns.value[level].push(column);
|
tableHeadColumns.value[level].push(column);
|
||||||
findFinalNode(level + 1, column.children);
|
findFinalNode(level + 1, column.children);
|
||||||
@ -225,7 +225,7 @@ const findFinalNode = (level: number, columns: any[]) => {
|
|||||||
}
|
}
|
||||||
// 如果列固定,并且 width 不存在, 设置默认值
|
// 如果列固定,并且 width 不存在, 设置默认值
|
||||||
if (column.fixed && !column.width) {
|
if (column.fixed && !column.width) {
|
||||||
column.type ? column.width = "50px" : column.width = "100px";
|
column.type ? (column.width = "50px") : (column.width = "100px");
|
||||||
}
|
}
|
||||||
tableHeadColumns.value[level].push(column);
|
tableHeadColumns.value[level].push(column);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user