@@ -3,9 +3,10 @@ ENV = 'development'
# 若依管理系统/开发环境
VUE_APP_BASE_API = '/dev-api'
+VUE_APP_BASE_API = 'http://192.168.101.11:100'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
#端口
-Port = 101
+Port = 8080
@@ -28,7 +28,7 @@ module.exports = {
* If you want to also use it in dev, you can pass ['production', 'development']
*/
errorLog: 'production',
- apiUrl: ''
- // apiUrl: 'http://192.168.101.11:100'
- //apiUrl: 'http://36.7.89.102:8080'
+ // apiUrl: ''
+ apiUrl: 'http://192.168.101.11:100'
+ // apiUrl: 'http://36.7.89.102:8080'
}
@@ -35,8 +35,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://36.7.89.102:8080`,
- // target: `http://192.168.101.11:100`,
+ // target: `http://36.7.89.102:8080`,
+ target: `http://192.168.101.11:100`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''