Merge pull request #121 from EasonQwQ/7.x

feat:当entity没有comment的时候用propertyName做为列名而不是报错
This commit is contained in:
icssoa 2024-10-16 16:30:25 +08:00 committed by GitHub
commit 1b08434daa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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