根据此错误报告,似乎VS Code尚未处理这个问题与使用Vetur有关。将以下内容添加到settings.json中即可解决: "[vue]": { "editor.foldingStrategy": "indentation", }