2020-07-23 10:34:24 +00:00
|
|
|
// 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>
|
|
|
|
);
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2020-07-23 10:34:24 +00:00
|
|
|
|
|
|
|
FilterDropdownMenuWrapper.inheritAttrs = false;
|
|
|
|
|
|
|
|
export default FilterDropdownMenuWrapper;
|