tremble 3 年之前
父節點
當前提交
b30bdfcc9f
共有 4 個文件被更改,包括 29089 次插入51 次删除
  1. 14982 19
      new_backstage/package-lock.json
  2. 1 1
      new_backstage/src/configue/http.js
  3. 14104 29
      web/package-lock.json
  4. 2 2
      web/src/config/http.js

File diff suppressed because it is too large
+ 14982 - 19
new_backstage/package-lock.json


+ 1 - 1
new_backstage/src/configue/http.js

@@ -8,7 +8,7 @@ const vue = new Vue();
 var isProduction = process.env.NODE_ENV === "production";
 let loading = "";
 
-const serverName = isProduction ? "/" : "http://192.168.0.135:8004/";
+const serverName = isProduction ? "/" : "http://192.168.0.245:8006/";
 
 const serverLocation = window.location.hostname;
 

File diff suppressed because it is too large
+ 14104 - 29
web/package-lock.json


+ 2 - 2
web/src/config/http.js

@@ -2,7 +2,7 @@ import axios from 'axios'
 
 var isProduction = process.env.NODE_ENV === 'production'
 
-const serverName = isProduction ? '/' : 'http://192.168.0.135:8004/'
+const serverName = isProduction ? '/' : 'http://192.168.0.245:8006/'
 
 const orginLink = window.location.origin
 
@@ -45,8 +45,8 @@ axios.interceptors.response.use(
       case 5001:
         window.localStorage.setItem('webtoken', '')
         window.localStorage.setItem('webuserInfo', '')
-        
         return alert('请登录后再操作')
+        
       case 5002:
         window.localStorage.setItem('webtoken', '')
         window.localStorage.setItem('webuserInfo', '')