# Conflicts: # nuxt.config.js
@@ -847,7 +847,11 @@
}
} else {
- window.location.href = '/overRegister/overEnterprise'
+ let returnUrl = ''
+ if (this.$route.query.returnURL) {
+ returnUrl = decodeURIComponent(this.$route.query.returnURL)
+ }
+ window.location.href = returnUrl || '/overRegister/overEnterprise'
return Promise.reject(response.data)
@@ -606,8 +606,11 @@
let userUU = response.data.content.userUU
- console.log(userUU)
- window.location.href = `/overRegister/${userUU}`
+ window.location.href = returnUrl || `/overRegister/${userUU}`
@@ -1,6 +1,6 @@
const path = require('path')
const isProdMode = Object.is(process.env.NODE_ENV, 'production')
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'https://sso.ubtob.com/' : 'http://tsso.usoftchina.com')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'https://sso.usoftchina.com/' : 'http://188.131.128.107:24004/')
module.exports = {
router: {