✨(component): 切换分支前的提交准备
This commit is contained in:
parent
add05fa4aa
commit
554501f6d6
@ -212,8 +212,8 @@ const findFinalNode = (level: number, columns: any[]) => {
|
|||||||
tableHeadColumns.value[level] = [];
|
tableHeadColumns.value[level] = [];
|
||||||
}
|
}
|
||||||
// 如果列固定,并且 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);
|
||||||
@ -224,8 +224,8 @@ const findFinalNode = (level: number, columns: any[]) => {
|
|||||||
tableHeadColumns.value[level] = [];
|
tableHeadColumns.value[level] = [];
|
||||||
}
|
}
|
||||||
// 如果列固定,并且 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