提交
This commit is contained in:
18
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.js
generated
vendored
Normal file
18
甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
import { IconDefaultProps } from './props';
|
||||
import fmtEvent from '../_util/fmtEvent';
|
||||
import '../_util/assert-component2';
|
||||
Component({
|
||||
props: IconDefaultProps,
|
||||
methods: {
|
||||
onTap: function (e) {
|
||||
if (this.props.onTap) {
|
||||
this.props.onTap(fmtEvent(this.props, e));
|
||||
}
|
||||
},
|
||||
catchTap: function (e) {
|
||||
if (this.props.catchTap) {
|
||||
this.props.catchTap(fmtEvent(this.props, e));
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user