This commit is contained in:
xiaojunnuo
2024-10-03 01:29:12 +08:00
parent aeed24e87d
commit c9d18f6d8a
17 changed files with 100 additions and 34 deletions
@@ -350,7 +350,7 @@ function install(app: App, options: any = {}) {
}
columnProps.column.resizable = true;
if (!columnProps.column.width) {
columnProps.column.width = 100;
columnProps.column.width = -1;
} else if (typeof columnProps.column?.width === "string" && columnProps.column.width.indexOf("px") > -1) {
columnProps.column.width = parseInt(columnProps.column.width.replace("px", ""));
}