Open
Description
Version
Vben Admin V5
Describe the bug?
路由开启noBasicLayout 参数后,同时Page 设置了,autoContentHeight, 此时页面上使用vxe-table的 grid 会产生显示的行高不争取的情况,如果关闭noBasicLayout 则没有这个问题
Reproduction
rouer 配置
{ name: 'VbenAbout', path: '/vben-admin/about', component: () => import('#/views/_core/about/index.vue'), meta: { icon: 'lucide:copyright', title: $t('demos.vben.about'), order: 9999, noBasicLayout: true, }, },
页面代码
`<script>
import { useVbenVxeGrid } from '#/adapter/vxe-table';
import type { VxeTableGridOptions, VxeGridListeners } from '#/adapter/vxe-table';
const [Grid] = useVbenVxeGrid({
formOptions,
gridOptions,
});
System Info
windows11, 最新版本的vben
Relevant log output
Validations
- Read the docs
- Ensure the code is up to date. (Some issues have been fixed in the latest version)
- I have searched the existing issues and checked that my issue does not duplicate any existing issues.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.