mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 21:18:14 +08:00
13 lines
247 B
Vue
13 lines
247 B
Vue
export default {
|
|
methods: {
|
|
handelClick(e) {
|
|
e.stopPropagation();
|
|
//this.$emit('click', e);
|
|
},
|
|
},
|
|
render() {
|
|
const { $slots, handelClick } = this;
|
|
return <div onClick={handelClick}>{$slots.default}</div>;
|
|
},
|
|
};
|