问题描述:

       在vue项目中触发自定义组件事件,然后报错提示 custom event name 'clickFather' must be kebab-case 。

解决办法:

       将用emit触发的这个方法名称 换成小写的   => clickfather 这样子就不会报错了。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2021-06-01
猜你喜欢
  • 2021-11-01
  • 2021-06-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
相关资源
相似解决方案