2***@qq.com
2***@qq.com
  • 发布:2022-07-14 14:54
  • 更新:2022-11-01 21:05
  • 阅读:850

使用插件报TypeError: nv_leftDom.nv_getBoundingClientRect is not a functio

分类:uni-app

使用<uni-swipe-action>报错 TypeError: nv_leftDom.nv_getBoundingClientRect is not a functio

2022-07-14 14:54 负责人:无 分享
已邀请:
DCloud_UNI_Anne

DCloud_UNI_Anne

更新uni-swipe-action组件最新版试下,如果还有问题请详细说明哪个平台?vue2还是vue3?直接使用示例项目是否正常?

  • 7***@qq.com

    我也遇到了,VUE2项目,VM4431:1 TypeError: nv_leftDom.nv_getBoundingClientRect is not a function

    at nv_getDom (:40944/pageframe/pageframe.html:1448)

    at nv_touchstart (:40944/pageframe/pageframe.html:1448)

    at i.E.u.<computed>.<computed>.u.addListener.capture (:40944/pageframe/dev/WAWebview.js:2)

    at n.safeCallback (:40944/pageframe/dev/WAWebview.js:2)

    at n.call (:40944/pageframe/dev/WAWebview.js:2)

    at o (:40944/pageframe/dev/WAWebview.js:2)

    at :40944/pageframe/dev/WAWebview.js:2

    at f (:40944/pageframe/dev/WAWebview.js:2)

    at Function.l.dispatchEvent (:40944/pageframe/dev/WAWebview.js:2)

    at C (:40944/pageframe/dev/WAWebview.js:2)

    2022-08-18 15:22

  • 7***@qq.com

    更新了组件,没用

    2022-08-18 15:23

  • DCloud_UNI_Anne

    回复 7***@qq.com: 直接导入插件的示例项目是否正常?

    2022-08-18 16:04

s***@qq.com

s***@qq.com

是微信开发工具的调试基础库版本太低,调整到灰度以上的版本即可

该问题目前已经被锁定, 无法添加新回复