当前位置: 代码迷 >> 综合 >> Identifier ‘product_number‘ is not in camel case
  详细解决方案

Identifier ‘product_number‘ is not in camel case

热度:98   发布时间:2024-02-20 08:08:28.0

原因:后端API返回字段product_number ,用了下划线,eslint 要求驼峰写法

解决方法:

1.后端返回驼峰字段

2.关闭eslint中camelcase

  相关解决方案