问题是这样的,小程序用uni-app开发的,由于很多页面有相同功能所以我把公共功能抽成模块供各个页面使用,但在不同小程序平台甚至是在同一平台却出现了有的地方没问题有的地方出问题了,就如同这里我在字节码跳动小程序页面下拉方法onPullDownRefresh里调用this.$refs.postVue.getData()就直接报TypeError: $refs[ref].push is not a function异常了。如下图:

关于小程序报$refs.xxx is not a function的问题排解

详情访问我的个人网站:https://www.xubingtao.cn/2020/09/15/mp_dev_resolve_refs-xxx-is-not-a-function

相关文章:

  • 2022-12-23
  • 2021-11-28
  • 2021-06-21
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-12
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
相关资源
相似解决方案