You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/table/FilterDropdownMenuWrapper.jsx

26 lines
598 B

// export default {
// name: 'FilterDropdownMenuWrapper',
// methods: {
// handelClick(e) {
// e.stopPropagation();
// //this.$emit('click', e);
// },
// },
// render() {
// const { $slots, handelClick } = this;
// return <div onClick={handelClick}>{$slots.default}</div>;
// },
// };
const FilterDropdownMenuWrapper = (_, { attrs, slots }) => {
return (
<div class={attrs.class} onClick={e => e.stopPropagation()}>
{slots.default?.()}
</div>
);
};
FilterDropdownMenuWrapper.inheritAttrs = false;
export default FilterDropdownMenuWrapper;