weex icon indicating copy to clipboard operation
weex copied to clipboard

[PR]请教下scroller中onclick事件失效是怎么回事

Open voidxin opened this issue 10 years ago • 3 comments

<template>  
       <scroller class="list" append="tree">

        <div class="cell"  repeat="{{items}}" >
                    <div class="row3"> 
                    <text class="row3_content">实盘金额:{{totalPrice}}</text>
                       <text class="row3_content">差异金额:{{chayiPrice}}</text>

                        <text class="update_btn" onclick="updateAction">修改</text>

                    </div>

                 </div>




     </scroller>

</template>

如上代码所示,在scroller中 修改的updateAction点击事件失效,但是把Scroller去掉单独放在一个div中去点击事件是可以的,请问下这是什么原因呢?谢谢

voidxin avatar Oct 09 '16 01:10 voidxin

append="tree" 去掉 这是一个bug

haicuan139 avatar Oct 09 '16 01:10 haicuan139

@haicuan139 谢谢,已解决

voidxin avatar Oct 09 '16 02:10 voidxin

@voidxin @haicuan139 这个 bug 已经定位 #1173 下个版本会修复 谢谢

Jinjiang avatar Oct 09 '16 02:10 Jinjiang