shaogen1995 3 tahun lalu
induk
melakukan
c16b64e778
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      web/src/config/http.js

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

@@ -2,9 +2,9 @@ import axios from 'axios'
 
 var isProduction = process.env.NODE_ENV === 'production'
 // 线上打包
-// const serverName = isProduction ? '/' : 'http://192.168.0.245:8003/'
+const serverName = isProduction ? '/' : 'http://192.168.0.245:8003/'
 // 线下调试
-const serverName = isProduction ? "/" : "http://192.168.0.135:8003/"
+// const serverName = isProduction ? "/" : "http://192.168.0.135:8003/"
 
 const orginLink = window.location.origin