fix: 将 vxe-table 已废弃的 rowConfig.height 迁移为 cellConfig.height

This commit is contained in:
2026-09-23 11:03:18 +08:00
parent 8b035ebca5
commit 1aafccc289
7 changed files with 14 additions and 4 deletions
@@ -126,7 +126,8 @@ const gridOptions: VxeGridProps<PddGoodsVO.Info> = {
height: '100%',
border: true,
stripe: true,
rowConfig: { isHover: true, height: 72 },
rowConfig: { isHover: true },
cellConfig: { height: 72 },
showOverflow: true,
size: 'small',
toolbarConfig: {
@@ -167,7 +167,8 @@ const gridOptions: VxeGridProps<PddOrderVO.Info> = {
height: '100%',
border: true,
stripe: true,
rowConfig: { isHover: true, height: 84 },
rowConfig: { isHover: true },
cellConfig: { height: 84 },
showOverflow: true,
size: 'small',
toolbarConfig: {
@@ -117,7 +117,8 @@ const gridOptions: VxeGridProps<PddShopVO.Info> = {
height: 'auto',
border: true,
stripe: true,
rowConfig: { isHover: true, height: 118 },
rowConfig: { isHover: true },
cellConfig: { height: 118 },
showOverflow: true,
size: 'small',
toolbarConfig: {
@@ -340,7 +340,8 @@ const gridOptions: VxeGridProps<OrderVO.Info> = {
height: '100%',
border: true,
stripe: true,
rowConfig: { isHover: true, height: 72 },
rowConfig: { isHover: true },
cellConfig: { height: 72 },
showOverflow: true,
size: 'small',
sortConfig: {
@@ -147,6 +147,8 @@ const gridOptions: VxeGridProps<ProductVO.Info> = {
// 商品行需要更高以容纳主图
rowConfig: {
isHover: true,
},
cellConfig: {
height: 88,
},
showOverflow: true,
@@ -157,6 +157,8 @@ const gridOptions: VxeGridProps<any> = {
useKey: true,
isHover: true,
drag: true,
},
cellConfig: {
height: 52,
},
showOverflow: true,
@@ -138,6 +138,8 @@ const gridOptions: VxeGridProps<any> = {
useKey: true,
isHover: true,
drag: true,
},
cellConfig: {
height: 52,
},
rowDragConfig: {