mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
Merge pull request #121 from EasonQwQ/7.x
feat:当entity没有comment的时候用propertyName做为列名而不是报错
This commit is contained in:
commit
1b08434daa
@ -168,7 +168,7 @@ export function useCode() {
|
||||
}
|
||||
|
||||
// 格式化标题
|
||||
label = label.split(" ")[0];
|
||||
label = label?.split?.(" ")?.[0] || column.propertyName;
|
||||
|
||||
return {
|
||||
column: {
|
||||
|
Loading…
Reference in New Issue
Block a user