e.currentTarget.dataset第一次能获取到值,后面的都没获取到了,这是咋回事?

发布于 8 年前作者 vhe15131 次浏览最后编辑 8 年前来自 issues
<view bindtap='tapHandler' data-code='{{urltocode}}' class="first arrow feed_back">
        <!-- <text class="count">{{reportcount}}</text> -->
        <image src="/images/scan.png"></image>
        <text>分享</text>
      </view>
2 回复
leihou
leihou1 楼6 年前

猜不到,上代码

phou
phou2 楼6 年前

data-xxxxxx,我用的小写,格式也正确