(component): 切换分支前的提交准备

This commit is contained in:
就眠儀式 2022-08-15 10:31:53 +08:00
parent add05fa4aa
commit 554501f6d6

View File

@ -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);
} }