JinSshe

 

2021年5月12日

vue跨域问题

摘要: 1. 在 config/index.js -> proxyTable 中设置添加代理 proxyTable: { '/api': { target: 'http://localhost:8080', changeOrigin: true, pathRewrite: { '^/api': '' } } 阅读全文

posted @ 2021-05-12 16:22 JinSshe 阅读(69) 评论(0) 推荐(0)

导航