-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
append=tree 的bug #1148
Labels
Comments
根元素上不能用 |
应该和 append="tree" 没有直接关系 |
将list元素换成scroller 也是一样的,不能触发点击事件,如果是特性的话那就没什么问题了:<template>
<list append="tree">
<cell onclick="onclick" style="background-color: #0000cc">
<text onclick="onclick">AddAAAAAAAAA</text>
</cell>
</list>
</template>
<script>
require('weex-components');
module.exports = {
data: {
showHot:true
}
, methods:{
onclick:function(e){
console.log(e);
}
},
created: function () {
}
}
</script> |
got 重现了,我们当 bug 修复一下 |
@Jinjiang 我刚刚也测试了下,div 根元素 也是不行的。我觉得像Hanks10100 所说的,根试图目前应该不能添加 append = tree 的属性 |
从有 没有
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
下面这段代码不能响应 text 的点击事件。
The text was updated successfully, but these errors were encountered: