![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
每天一个技术点
这个作者很懒,什么都没留下…
展开
-
axios的get与post
GET方法async代表异步let reqParams = { url: '/api/recruit/login', method: 'get', params: { account: this.account, pas...原创 2020-03-21 20:30:56 · 89 阅读 · 0 评论 -
Axiso解决跨域访问 !!!!
首先请检查下你的 Vue 版本,Vue2 和 Vue3 跨域方式不同:首先在配置 config里面的index.js proxyTable: { '/api': { // target: 'http://www. wuyushuo.com:8080', // target: 'http://47.100.210.195', targ...转载 2020-03-16 16:00:21 · 197 阅读 · 0 评论