Browse Source

生物安防

xsh 3 năm trước cách đây
mục cha
commit
84684928a9
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 2 2
      src/store/index.js
  2. 2 2
      src/utils/http.js

+ 2 - 2
src/store/index.js

@@ -8,9 +8,9 @@ export default new Vuex.Store({
       color: '#31C3A6',
       mode: true,
       // 外网
-      // ip: 'http://120.27.234.126:8010',
+      ip: 'http://120.27.234.126:8010',
       //本地
-      ip: 'http://192.168.1.165:8010',
+      // ip: 'http://192.168.1.165:8010',
       // 所选择的farmId
       farmId: '',
       farmList: [],

+ 2 - 2
src/utils/http.js

@@ -16,9 +16,9 @@ let removePending = (ever) => {
 var instance = axios.create({
   timeout: 1000 * 12,
   // 外网
-  // baseURL: 'http://120.27.234.126:8010'
+  baseURL: 'http://120.27.234.126:8010'
   // 本地
-  baseURL: 'http://192.168.1.165:8010'
+  // baseURL: 'http://192.168.1.165:8010'
 })
 
 // 请求拦截器