Browse Source

Merge branch 'hotfix-0619'

yangc 7 years ago
parent
commit
979ea63ecb
2 changed files with 2 additions and 2 deletions
  1. 1 1
      components/default/Header.vue
  2. 1 1
      nuxt.config.js

+ 1 - 1
components/default/Header.vue

@@ -116,7 +116,7 @@
       onRegisterClick () {
       onRegisterClick () {
         this.$http.get('/register/page').then(response => {
         this.$http.get('/register/page').then(response => {
           if (response.data) {
           if (response.data) {
-            window.location.href = response.data.content
+            window.location.href = response.data.content + '&baseUrl=' + encodeURIComponent(window.location.protocol + '//' + window.location.host + '/newLogin/other')
           }
           }
         })
         })
       },
       },

+ 1 - 1
nuxt.config.js

@@ -1,7 +1,7 @@
 const path = require('path')
 const path = require('path')
 const isProdMode = Object.is(process.env.NODE_ENV, 'production')
 const isProdMode = Object.is(process.env.NODE_ENV, 'production')
 // b2c后台
 // b2c后台
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://api.usoftmall.com/' : 'http://192.168.253.3:36006')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://api.usoftmall.com/' : 'http://192.168.253.121:9090/platform-b2c/')
 // 公共询价
 // 公共询价
 const commonUrl = process.env.COMMON_URL || (isProdMode ? 'https://api-inquiry.usoftmall.com/' : 'http://218.17.158.219:24000/')
 const commonUrl = process.env.COMMON_URL || (isProdMode ? 'https://api-inquiry.usoftmall.com/' : 'http://218.17.158.219:24000/')
 // 公共物料
 // 公共物料