w***@163.com
w***@163.com
  • 发布:2021-05-07 16:20
  • 更新:2021-05-07 16:20
  • 阅读:823

小程序报错: Method "example" has type "object" in the component definition.

分类:uni-app

只要加了easycom组件的页面就报错。官方的示例又不会。

写法跟示例是一样的。直接复制过来,直接就报错。

[Vue warn]: Method "example" has type "object" in the component definition. Did you reference the function correctly?

found in

---> <UniIcons> at components/uni-icons/uni-icons.vue
<UniRate> at components/uni-rate/uni-rate.vue

2021-05-07 16:20 负责人:无 分享
已邀请:

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