diff --git a/CHANGELOG.md b/CHANGELOG.md index f9cce4101334fab9ff8ae6f4e0d6ce9c117fff3a..585ba3804efc83962b7275e4498d32c3a98a994b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ - 修复多数据选择编辑器的placeholder配置后未生效 - 修复HTML编辑器的编辑器参数modules配置后未生效 - 修复电子签名编辑器签名后未显示签名内容及调整只读逻辑 +- 修复多数据视图部件的项样式呈现异常 ## [0.7.41-alpha.18] - 2025-09-30 diff --git a/src/control/list/list-render-util.tsx b/src/control/list/list-render-util.tsx index 5eaaf49a0c33744c0d318d5aeaffb8890888eff6..2cbfda4c5f4d6742d093c2de49c356eb321f24d8 100644 --- a/src/control/list/list-render-util.tsx +++ b/src/control/list/list-render-util.tsx @@ -69,7 +69,7 @@ export function useListRender( const itemClass = calcItemClass(row); const itemStyle = calcItemStyle(row); const slotOption = {}; - if (Object.prototype.hasOwnProperty.call(row, 'image')) { + if (Object.prototype.hasOwnProperty.call(row, 'image') && row.image) { Object.assign(slotOption, { icon: renderIcon(row) }); } if (props.mode === 'SELECT') { diff --git a/src/control/list/md-ctrl/md-ctrl.scss b/src/control/list/md-ctrl/md-ctrl.scss index ccfeeab57c4796859d29cd3aae8a7fd4cd3d10a8..7ac4debb073cedfd9729fb2ab249cf78bc800abb 100644 --- a/src/control/list/md-ctrl/md-ctrl.scss +++ b/src/control/list/md-ctrl/md-ctrl.scss @@ -56,6 +56,9 @@ $panel:( content: ''; background-color: getCssVar(color, border); } + .#{bem(control-mobmdctrl-item)}.van-cell::before { + display: none; + } .van-swipe-cell + .van-swipe-cell { .van-swipe-cell__wrapper::before {