vue使用了代理怎么知道他实际上请求了什么地址?

阅读 5.3k
3 个回答

你这个要加个斜杠的

    pathRewrite: {
      '^/api': '/'
    }
...
pathRewrite: {
 '^/api': ''
}
推荐问题