跳到主要内容

InvalidConstantName

等级:错误

常量名必须以 @ 开头

如何修复​

常量名必须以 @ 开头,通常同时使用大写名称。

修改前​

const LIMIT = 10; 

修复后​

const @LIMIT = 10;