lottie-miniprogram 根本不能使用
发布于 4 年前 作者 nagu 14781 次浏览 来自 官方Issues
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 (
回到顶部