-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.2.14
Environment
vue@3.2.47 ant-design-vue@3.2.15
Reproduction link
https://antdv.com/components/table-cn#API
Steps to reproduce
...
const componentProps = {
title,
...restCellProps,
...additionalProps,
colSpan: mergedColSpan !== 1 ? mergedColSpan : null,
rowSpan: mergedRowSpan !== 1 ? mergedRowSpan : null,
class: classNames(
cellPrefixCls,
{
[${cellPrefixCls}-fix-left]: isFixLeft && supportSticky.value,
[${cellPrefixCls}-fix-left-first]:
firstFixLeft && supportSticky.value,
[${cellPrefixCls}-fix-left-last]:
lastFixLeft && supportSticky.value,
[${cellPrefixCls}-fix-right]: isFixRight && supportSticky.value,
[${cellPrefixCls}-fix-right-first]:
firstFixRight && supportSticky.value,
[${cellPrefixCls}-fix-right-last]:
lastFixRight && supportSticky.value,
[${cellPrefixCls}-ellipsis]: ellipsis,
[${cellPrefixCls}-with-append]: appendNode,
[${cellPrefixCls}-fix-sticky]:
(isFixLeft || isFixRight) && isSticky && supportSticky.value
},
additionalProps.class,
cellClassName
),
style: {
...parseStyleText(additionalProps.style as any),
...alignStyle,
...fixedStyle,
...cellStyle
}
};
console.log("======>");
return (
<Component {...componentProps}>
{appendNode}
{childNode}
{slots.dragHandle?.()}
);
};
}
});
// 使用
What is expected?
自定义cell情况下移除原有的鼠标移入事件
What is actually happening?
自定义的cell与原有cell同时执行