本文共 192 字,大约阅读时间需要 1 分钟。
Missing space before function parentheses
配置Eslink,在VUE项目根目录中找到.eslintrc.js,在rules对象里加一行代码
'space-before-function-paren':0
去掉方法名和括号之间的空格,其它的不需要改动!!
转载地址:http://izumf.baihongyu.com/