收藏
回答

lottie-miniprogram 根本不能使用

lottie-miniprogram
  模拟器可用,真机 android和ios都失败:
MiniProgramError
Cannot read property 'play' of undefined
TypeError: Cannot read property 'play' of undefined
    at vt.play (weapp:///index/index.js:45:14)
    at Object.o.safeCallback (eval at n.call.document (http://127.0.0.1:45831/remote-debug/runtime.js?devtools_ignore=true:1:13016), :2:2572180)
    at eval (eval at n.call.document (http://127.0.0.1:45831/remote-debug/runtime.js?devtools_ignore=true:1:13016), :2:2746244)
    at s (eval at n.call.document (http://127.0.0.1:45831/remote-debug/runtime.js?devtools_ignore=true:1:13016), :2:2670636)
    at eval (eval at n.call.document (http://127.0.0.1:45831/remote-debug/runtime.js?devtools_ignore=true:1:13016), :2:2746174)
    at v (eval at n.call.document (http://127.0.0.1:45831/remote-debug/runtime.js?devtools_ignore=true:1:13016), :2:2649551)
    at eval (eval at n.call.document (http://127.0.0.1:45831/remote-debug/runtime.js?devtools_ignore=true:1:13016), :2:2649932)
    at eval (eval at n.call.document (http://127.0.0.1:45831/remote-debug/runtime.js?devtools_ignore=true:1:13016), :2:1382739)
    at Object.O (eval at n.call.document (http://127.0.0.1:45831/remote-debug/runtime.js?devtools_ignore=true:1:13016), :2:63925)
    at oe (
回答关注问题邀请回答
收藏
登录 后发表内容