|
|
@@ -8,7 +8,8 @@
|
|
|
name: 'login',
|
|
|
layout: 'login',
|
|
|
mounted () {
|
|
|
- this.$http.get('/login/page', {params: {returnUrl: '/'}}).then(response => {
|
|
|
+ let uri = window.location.protocol + '//' + window.location.host + '/'
|
|
|
+ this.$http.get('/login/page', {params: {returnUrl: uri}}).then(response => {
|
|
|
if (response.data) {
|
|
|
window.location.href = response.data.content + '&baseUrl=' + encodeURIComponent(window.location.protocol + '//' + window.location.host + response.data.baseUrl)
|
|
|
}
|