将vscode里面的显示器配置换成Powershell,之前是cmd
命令面板(Ctrl+Shift+P)中,输入select选择第一条:
之后选择目标Shell。
看了百度之后有所启发
https://blog.csdn.net/dyr_1203/article/details/93192485