vue-vben-admin
vue-vben-admin copied to clipboard
Bug: vxe表格高度计算错误
Version
Vben Admin V5
Describe the bug?
当把Grid放在一个grid布局的容器中,同时把Grid组件的高度设置为auto时,组件的高度会一直增长,如果在Grid的css上减去一定高度后这个问题消失
当代码为如图所示时,表格高度会一直增长
https://github.com/user-attachments/assets/7d2c398f-1fe4-4148-88b1-2f3dce08187d
但是当我加上这个css后bug消失
使用未封装的vxe-grid做了相同测试,没有出现这种现象
Reproduction
/
System Info
/
Relevant log output
No response
Validations
- [X] Read the docs
- [X] Ensure the code is up to date. (Some issues have been fixed in the latest version)
- [X] I have searched the existing issues and checked that my issue does not duplicate any existing issues.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- [X] The provided reproduction is a minimal reproducible example of the bug.