pull/8/head
xuhaoyun 1 year ago
parent 39665e9256
commit 9293f97388

@ -4,7 +4,7 @@ import vm from "../main";
import { getToken } from '@/utils/auth' import { getToken } from '@/utils/auth'
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
const request = axios.create({ const request = axios.create({
baseURL: 'http://172.18.113.50:8080', baseURL: 'http://172.18.113.50:8080/zhapi',
// baseURL: `http://${window.location.host}`, // baseURL: `http://${window.location.host}`,
timeout: 50000, timeout: 50000,
headers: { 'content-type': 'application/json' }, headers: { 'content-type': 'application/json' },

Loading…
Cancel
Save