摘要:
一、开发环境使用Ajax请求,报错 网上查的资料,在config中的index.js这样设置 proxyTable:{ '/api':{ target:'', //此处为你的API接口地址 changeOrigin:true, pathRewrite:{ '^/api':'' //这里理解为用api 阅读全文
posted @ 2018-08-22 10:27
静谧coding
阅读(6965)
评论(0)
推荐(0)
浙公网安备 33010602011771号