【小程序】自定义属性data-* ,获取id

笔记:

页面中先以data-名字=“{{index}}” 写好,并绑定事件

在事件函数里面获取

 

posted @ 2018-07-16 15:58  小Ling的博客  阅读(1104)  评论(0编辑  收藏  举报