dujingxian 4 rokov pred
rodič
commit
125df563df
3 zmenil súbory, kde vykonal 4 pridanie a 2 odobranie
  1. 1 0
      .gitignore
  2. 1 1
      src/api/index.js
  3. 2 1
      vue.config.js

+ 1 - 0
.gitignore

@@ -2,6 +2,7 @@
 node_modules
 /dist
 /admin
+package-lock.json
 
 # local env files
 .env.local

+ 1 - 1
src/api/index.js

@@ -109,7 +109,7 @@ let requestLoading = (url, method, params, showLoading = true) => {
 // const StanleyLocal = process.env.NODE_ENV == 'production' ? 'http://39.97.239.116:8080' : '/api';
 
 // const Prefix = StanleyLocal;
-const Prefix = 'http://10.64.81.2:8080';
+const Prefix = 'http://192.168.1.195:8080/';
 
 
 //测试请求

+ 2 - 1
vue.config.js

@@ -1,8 +1,9 @@
 // const targetUrl = 'https://apizng.eavic.com';
 // const targetUrl = 'http://39.97.239.116:8080';
 // const targetUrl = 'http://192.168.1.200:8080';
+const targetUrl = 'http://192.168.1.195:8080/'
 
-const targetUrl = 'http://10.64.81.2:8080';
+// const targetUrl = 'http://10.64.81.2:8080';
 
 module.exports = {
     publicPath:'./',