Replies: 1 comment 2 replies
-
确实没注意 后续优化一下 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Laravel模型关联,根据规范来说都会使用驼峰命名法,然而返回数据给前端时会自动转为蛇形命名法。这时候owl-admin列表自动处理关联数据时就会有问题了,正如下图所示,我有个上级用户
fromUser
的关联,列表的TableColumn
的name
需对应fromUser
才会自动处理关联数据,然而返回给前端时,fromUser
变成了from_user
,这时候就导致列表无法找到对应的字段。Beta Was this translation helpful? Give feedback.
All reactions