This commit is contained in:
Ling53666
2025-08-18 09:11:51 +08:00
commit 02554225da
2516 changed files with 133155 additions and 0 deletions

View 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));
}
},
},
});