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

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

View File

@ -212,8 +212,8 @@ const findFinalNode = (level: number, columns: any[]) => {
tableHeadColumns.value[level] = [];
}
// width ,
if(column.fixed && !column.width) {
column.type ? column.width = "50px" : column.width = "100px";
if (column.fixed && !column.width) {
column.type ? (column.width = "50px") : (column.width = "100px");
}
tableHeadColumns.value[level].push(column);
findFinalNode(level + 1, column.children);
@ -224,8 +224,8 @@ const findFinalNode = (level: number, columns: any[]) => {
tableHeadColumns.value[level] = [];
}
// width ,
if(column.fixed && !column.width) {
column.type ? column.width = "50px" : column.width = "100px";
if (column.fixed && !column.width) {
column.type ? (column.width = "50px") : (column.width = "100px");
}
tableHeadColumns.value[level].push(column);
}