ts设置中文错误提示的话,直接命令行设置就行了 yarn tsc --locale zh-CN vscode设置中文错误提示需要打开设置页面,搜索“typescript local”,然后设置中文就行了