mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-14 23:12:51 +00: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 {
|
return {
|
||||||
column: {
|
column: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user