为什么使用vue发送一个post请求时,url前会自动带上本地的调试地址呢?请求代码是这样写的:
t.$axios.post('http//api.open.test.ai/readingcutupload', {
file: '123333'
}).then(res => {
console.log(res);
})
然后查看控制台,发现前面自动带了这一串
为什么使用vue发送一个post请求时,url前会自动带上本地的调试地址呢?请求代码是这样写的:
t.$axios.post('http//api.open.test.ai/readingcutupload', {
file: '123333'
}).then(res => {
console.log(res);
})
然后查看控制台,发现前面自动带了这一串
9 回答1.7k 阅读✓ 已解决
6 回答973 阅读
3 回答1.4k 阅读✓ 已解决
4 回答969 阅读✓ 已解决
2 回答1.1k 阅读✓ 已解决
3 回答875 阅读
3 回答1.3k 阅读✓ 已解决
url地址少了一个冒号