feat:当entity没有comment的时候用propertyName做为列名而不是报错

This commit is contained in:
kidv 2024-07-18 00:33:44 +08:00
parent cd1cd39a7a
commit 37adbf5eb3

View File

@ -158,7 +158,7 @@ export function useCode() {
}
// 格式化标题
label = label.split(" ")[0];
label = label?.split?.(" ")?.[0] || column.propertyName;
return {
column: {