Browse Source

header登录链接跳转

yangc 8 năm trước cách đây
mục cha
commit
d3f5a428b7
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      components/default/Header.vue
  2. 1 1
      nuxt.config.js

+ 1 - 1
components/default/Header.vue

@@ -87,7 +87,7 @@
         this.$http.get('/login/page', {params: {returnUrl: window.location.href}}).then(response => {
           if (response.data) {
             console.log(response.data.content)
-//            window.location.href = response.data.content
+            window.location.href = response.data.content
           }
         })
         // TODO 待Account Center改版

+ 1 - 1
nuxt.config.js

@@ -1,6 +1,6 @@
 const path = require('path')
 const isProdMode = Object.is(process.env.NODE_ENV, 'production')
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://10.10.100.107:8081/platform-b2c/' : 'http://192.168.253.123:8080/platform-b2c/')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://10.10.100.107:8081/platform-b2c/' : 'http://192.168.253.60:9090/platform-b2c/')
 
 module.exports = {
   router: {