Cannot read property 'filled' of undefined

发布于 7 年前作者 zouming790 次浏览最后编辑 7 年前来自 issues

https://developers.weixin.qq.com/miniprogram/dev/extended/weui/icon.html

VM22:2 MiniProgramError

Cannot read property ‘filled’ of undefined

TypeError: Cannot read property ‘filled’ of undefined

    at Je._genSrcByType (weapp:///miniprogram_npm/weui-miniprogram/icon/icon.js:322:57)

    at Function.r.safeCallback (eval at n.call.document (http://127.0.0.1:38462/remote-debug/runtime.js?devtools_ignore=true:1:8784), <anonymous>:2:1827260)

    at n.eval (eval at n.call.document (http://127.0.0.1:38462/remote-debug/runtime.js?devtools_ignore=true:1:8784), <anonymous>:2:1865633)

    at a.doUpdates (eval at n.call.document (http://127.0.0.1:38462/remote-debug/runtime.js?devtools_ignore=true:1:8784), <anonymous>:2:1882634)

    at c (eval at n.call.document (http://127.0.0.1:38462/remote-debug/runtime.js?devtools_ignore=true:1:8784), <anonymous>:2:2009224)

    at S (eval at n.call.document (http://127.0.0.1:38462/remote-debug/runtime.js?devtools_ignore=true:1:8784), <anonymous>:2:1978626)

    at e (eval at n.call.document (http://127.0.0.1:38462/remote-debug/runtime.js?devtools_ignore=true:1:8784), <anonymous>:2:1977320)

    at e (eval at n.call.document (http://127.0.0.1:38462/remote-debug/runtime.js?devtools_ignore=true:1:8784), <anonymous>:2:1977441)

    at e (eval at n.call.document (http://127.0.0.1:38462/remote-debug/runtime.js?devtools_ignore=true:1:8784), <anonymous>:2:1977441)

    at e (eval at n.call.document (http://127.0.0.1:38462/remote-debug/runtime.js?devtools_ignore=true:1:8784), <anonymous>:2:1977441)

1 回复
tao53
tao531 楼5 年前

麻烦提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。