Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crud组件,如何才能显示列分隔线 #10285

Closed
woxiangbo opened this issue May 22, 2024 · 5 comments
Closed

crud组件,如何才能显示列分隔线 #10285

woxiangbo opened this issue May 22, 2024 · 5 comments
Assignees

Comments

@woxiangbo
Copy link

https://aisuda.bce.baidu.com/amis/zh-CN/components/table?page=1#%E8%A1%A8%E5%A4%B4%E6%A0%B7%E5%BC%8F
“表头样式”章节 下的第一个crud组件,列之间有分割线
第2个crud组件,列之间没有分割线,如何才能显示分割线

image

@allenve allenve self-assigned this May 23, 2024
@allenve
Copy link
Collaborator

allenve commented May 23, 2024

@allenve
Copy link
Collaborator

allenve commented May 23, 2024

"tableClassName": "Table-table--withCombine" 也可以曲线救国

@woxiangbo
Copy link
Author

"tableClassName": "Table-table--withCombine" 也可以曲线救国

好的,因为table不支持分页,所以我就用你这个方案了,谢谢

@woxiangbo
Copy link
Author

woxiangbo commented May 30, 2024

"tableClassName": "Table-table--withCombine" 也可以曲线救国

不好意思,怎么才能给CRUD加上这个样式呢?className这个属性貌似不行
{ "type": "crud", "name": "crud", "initFetch": false, "title": "方法覆盖率", "className": "Table-table--withCombine", "api": "${API_HOST}/build/coverage/list_package_trend" }

@woxiangbo woxiangbo reopened this May 30, 2024
@woxiangbo
Copy link
Author

"combineNum": 20,
加上这个参数,可以显示分割线,hoho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants