今天在学习跨域,遇到了更改端口,在此记录一下 设置中搜索live server 切换到工作区 点击在setting.json中编辑 { "liveServer.settings.port": 5500 }