[渲染层错误] TypeError: undefined is not a function
at <anonymous>:99:41
at <anonymous>:103:21(env: Windows,mp,1.05.2107221; lib: 2.22.0)
[渲染层错误] Uncaught TypeError: undefined is not a function(env: Windows,mp,1.05.2107221; lib: 2.22.0)
这种错误应该怎么看啊,我借用git'上一个自定义组件,拿到自己的项目里就不行了

提供下可以复现问题的代码片段 https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html