Giter VIP home page Giter VIP logo

Comments (14)

Rahim-Chan avatar Rahim-Chan commented on May 27, 2024

thirdScriptError
_taroWeapp2.default[key] is not a function;at SelectorQuery callback function
TypeError: _taroWeapp2.default[key] is not a function

请发一下listview开启的配置!

  • 必然复现吗?
  • 怎么复现?
  • 是在小程序环境下吗
  • 是在什么方向滑动产生的

from taro-listview.

woaixiaojuan avatar woaixiaojuan commented on May 27, 2024

同样的问题,求助

from taro-listview.

Rahim-Chan avatar Rahim-Chan commented on May 27, 2024

同样的问题,求助
请发一下listview开启的配置!

必然复现吗?
怎么复现?
是在小程序环境下吗
是在什么方向滑动产生的

from taro-listview.

woaixiaojuan avatar woaixiaojuan commented on May 27, 2024

<ListView style={{ height: '100vh' }} isEmpty={false} lazy distanceToRefresh={40} ref={node => this.insRef(node)} onPullDownRefresh={fn => this.pullDownRefresh(fn)} onScrollToLower={fn => this.onScrollToLower(fn)} > {this.props.children} </ListView>

from taro-listview.

Rahim-Chan avatar Rahim-Chan commented on May 27, 2024

x

<ListView style={{ height: '100vh' }} isEmpty={false} lazy distanceToRefresh={40} ref={node => this.insRef(node)} onPullDownRefresh={fn => this.pullDownRefresh(fn)} onScrollToLower={fn => this.onScrollToLower(fn)} > {this.props.children} </ListView>

先把lazy去掉,我排除一下问题,是在小程序环境吗

from taro-listview.

woaixiaojuan avatar woaixiaojuan commented on May 27, 2024

x

<ListView style={{ height: '100vh' }} isEmpty={false} lazy distanceToRefresh={40} ref={node => this.insRef(node)} onPullDownRefresh={fn => this.pullDownRefresh(fn)} onScrollToLower={fn => this.onScrollToLower(fn)} > {this.props.children} </ListView>

先把lazy去掉,我排除一下问题,是在小程序环境吗

微信小程序开发者工具调试报错

from taro-listview.

woaixiaojuan avatar woaixiaojuan commented on May 27, 2024

lazy

lazy去掉没有报错,另外用你给的例子也不会报错,不知道是不是我这配置有问题?
另外,可以请教下您,我可以自定义下拉加载动画吗(比如放一直gif图片)?

from taro-listview.

Rahim-Chan avatar Rahim-Chan commented on May 27, 2024
  • 报错问题我在排查
  • 自定义加载动画的画,我晚点新增一个props类型

from taro-listview.

woaixiaojuan avatar woaixiaojuan commented on May 27, 2024
  • 报错问题我在排查
  • 自定义加载动画的画,我晚点新增一个props类型

感谢

from taro-listview.

Rahim-Chan avatar Rahim-Chan commented on May 27, 2024
  • 报错问题我在排查
  • 自定义加载动画的画,我晚点新增一个props类型

感谢

  • 报错问题解决了
  • 新增renderCustomizeLoading,customizeLoading字段;
    customizeLoading是确定是否开启自定义;
    renderCustomizeLoading是放自定义的内容

from taro-listview.

woaixiaojuan avatar woaixiaojuan commented on May 27, 2024
  • 报错问题我在排查
  • 自定义加载动画的画,我晚点新增一个props类型

感谢

  • 报错问题解决了
  • 新增renderCustomizeLoading,customizeLoading字段;
    customizeLoading是确定是否开启自定义;
    renderCustomizeLoading是放自定义的内容

感谢,
customizeLoading={true}
renderCustomizeLoading={
<Image src={‘***'}>
}
是这样子书写吗?

from taro-listview.

Rahim-Chan avatar Rahim-Chan commented on May 27, 2024
  • 报错问题我在排查
  • 自定义加载动画的画,我晚点新增一个props类型

感谢

  • 报错问题解决了
  • 新增renderCustomizeLoading,customizeLoading字段;
    customizeLoading是确定是否开启自定义;
    renderCustomizeLoading是放自定义的内容

感谢,
customizeLoading={true}
renderCustomizeLoading={
<Image src={‘***'}>
}
是这样子书写吗?
是的
customizeLoading可以简写

from taro-listview.

woaixiaojuan avatar woaixiaojuan commented on May 27, 2024

感谢,
customizeLoading={true}
renderCustomizeLoading={
<Image src={‘***'}>
}
是这样子书写吗?
是的
customizeLoading可以简写

我这样写了,没有显示出来,是我哪儿写错了吗?
自定义页面UI的属性是怎么书写呢?
比如:
color=‘#ff0000'
indicator release = {'加载中'}
是这样吗?

from taro-listview.

Rahim-Chan avatar Rahim-Chan commented on May 27, 2024

感谢,
customizeLoading={true}
renderCustomizeLoading={
<Image src={‘***'}>
}
是这样子书写吗?
是的
customizeLoading可以简写

我这样写了,没有显示出来,是我哪儿写错了吗?
自定义页面UI的属性是怎么书写呢?
比如:
color=‘#ff0000'
indicator release = {'加载中'}
是这样吗?

<ListView
        renderCustomizeLoading={(<View>自定义</View>)}
        customizeLoading
          >          

这样写是在下拉触发加载等时候,替换oading的等待动画;

至于下拉过程的效果只能替换文字

from taro-listview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.