摘要: 项目根目录下创建vue.config.js module.exports = { devServer: { proxy: { //配置跨域 '/api': { //这里是真实的后台接口 target: 'https://localhost:5001/', //允许跨域 changeOrigin: t 阅读全文
posted @ 2020-12-26 15:59 liessay 阅读(121) 评论(0) 推荐(0) 编辑