Commit 86d8ef02 by Tianqing Liu

Merge branch 'qxh-master' of http://git.keliuyun.com:55676/jiaxiuc123/miniProject into qxh-master

2 parents 0b582115 d8244fb8
......@@ -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!