mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
feat:当entity没有comment的时候用propertyName做为列名而不是报错
This commit is contained in:
parent
cd1cd39a7a
commit
37adbf5eb3
@ -158,7 +158,7 @@ export function useCode() {
|
||||
}
|
||||
|
||||
// 格式化标题
|
||||
label = label.split(" ")[0];
|
||||
label = label?.split?.(" ")?.[0] || column.propertyName;
|
||||
|
||||
return {
|
||||
column: {
|
||||
|
Loading…
Reference in New Issue
Block a user