search

Home  >  Q&A  >  body text

vue.js - weex scroller搭配refresh在android平台上拉会触发refresh

weex scroller搭配refresh在android平台第一次 上拉 会触发refresh

js框架是 vue,有遇到的吗,不知道是不是bug

巴扎黑巴扎黑2771 days ago1018

reply all(2)I'll reply

  • 巴扎黑

    巴扎黑2017-04-18 09:22:16

    When scrolling, touching a clickable element triggers refresh. This is a bug

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:22:16

    Not sure what SDK version you are using? Also, are you using refresh correctly? I am using SDK---0.10.0 here, and this problem does not occur.

    <scroller  v-if="isEmptyData()" class="scroller_class_detail_two" style="justify-content: center;align-items: center ">
                <refresh class="refresh-view" :display="refreshing ? 'show' : 'hide'" @refresh="onRefresh">
                    <text> ↓ 下拉刷新</text>
                    <loading-indicator class="indicator"></loading-indicator>
                </refresh>
                <CL_Empty v-if="isEmptyData()"></CL_Empty>
            </scroller>

    reply
    0
  • Cancelreply