是因为你使用了eslint,这个是eslint的规范报错,能不用分号就不用分号eslint 错误

去掉封号就醒了。

另外,方法的()前面也要有空格,不然页报错:

eslint 错误

 

 

 

 

indentifier is not in a camel case

eslint 错误

这个是必须要用驼峰格式,改成topicNumber就可以了

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-07-07
猜你喜欢
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
相关资源
相似解决方案