This commit is contained in:
2024-09-25 09:42:05 +08:00
parent 30528311c1
commit 0c45925be9
6 changed files with 46 additions and 52 deletions

View File

@@ -748,7 +748,8 @@ const renderFixedClassName = (column: any, columnIndex: number) => {
left = false;
}
}
return left ? `layui-table-fixed-left-last` : "";
return "";
// return left ? `layui-table-fixed-left-last` : "";
} else {
var right = true;
for (var i = 0; i < columnIndex; i++) {
@@ -760,7 +761,8 @@ const renderFixedClassName = (column: any, columnIndex: number) => {
right = false;
}
}
return right ? `layui-table-fixed-right-first` : "";
return "";
// return right ? `layui-table-fixed-right-first` : "";
}
}
};

View File

@@ -1,6 +1,6 @@
export const TAG_COLORS = ["primary", "normal", "warm", "danger"] as const;
export type TagType = typeof TAG_COLORS[number];
export type TagType = (typeof TAG_COLORS)[number];
export type TagShape = "square" | "round";