bind:tap跟bindtap一样吗?这样用有没有问题啊

发布于 7 年前作者 aguo5727 次浏览最后编辑 7 年前来自 ask

bind:tap跟bindtap一样吗?这样用有没有问题啊

2 回复
huming
huming1 楼6 年前

ok,完美,thanks

chao07
chao072 楼5 年前
  • key 以bindcatch开头,然后跟上事件的类型,如bindtapcatchtouchstart。自基础库版本 1.5.0 起,在非原生组件中,bindcatch后可以紧跟一个冒号,其含义不变,如bind:tapcatch:touchstart

文档是写的非原生组件。。原生组件应该不能用:的写法。