搜到很多结果都是.eslintrc.js文件的rules中加 ‘space-before-function-paren’: 0 尝试了很多次只有这一种方案 最重要的是务必重启应用!!! 重启vscode没用!!!