Browse Source

恢复调用API

pull/167/head
xuxiaoming 3 years ago
parent
commit
241f68810e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/server/request.js

+ 2
- 2
src/server/request.js View File

@ -1,8 +1,8 @@
import axios from "axios";
import { ElMessage } from "element-plus";
let switchValue = true;
// const baseURL = process.env.VUE_APP_BASE_URL || "http://101.201.121.115:9003/";
const baseURL = process.env.VUE_APP_BASE_URL || "http://192.168.0.89:9003/";
const baseURL = process.env.VUE_APP_BASE_URL || "http://101.201.121.115:9003/";
// const baseURL = process.env.VUE_APP_BASE_URL || "http://192.168.0.89:9003/";
const service = axios.create({
baseURL,
timeout: 1000 * 60 * 2, // request timeout


Loading…
Cancel
Save