解决方法 参考:https://github.com/microsoft/vscode/issues/107895 将"terminal.integrated.inheritEnv": false设置为true