liuyg
2022-01-26 22b526a7ab81da32a97d866831b9177a42e34a90
src/router/axios.js
@@ -8,10 +8,10 @@
import axios from "axios";
let httpName = window.location.protocol + "//" + window.location.hostname;
let url = httpName + "/apis";
setTimeout(() => {
  console.log(window.location);
  console.log(url);
}, 3000);
// setTimeout(() => {
//   console.log(window.location);
//   console.log(url);
// }, 3000);
const service = axios.create({
  //   baseURL: 'http://192.168.0.107:83',
  // baseURL: "http://192.168.0.107:80",