Commit d8244fb8 by 李乾广

修改bug

1 parent b7c560bc
......@@ -2,7 +2,7 @@ import axios from 'axios'
import { Toast } from 'vant';
const baseURL = 'https://store.keliuyun.com';
const Axios = axios.create({
baseURL: baseURL, // 因为我本地做了反向代理
baseURL: process.env.NODE_ENV === 'production' ? '' : baseURL, // 因为我本地做了反向代理
timeout: 0,
// responseType: "json",
changeOrigin: true,//允许跨域
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!