|
|
@@ -60,9 +60,9 @@ Vue.mixin({
|
|
|
if (app) {
|
|
|
location.href = 'proginn://login?backToPage=true'
|
|
|
} else if (location.origin.indexOf('local') !== 1 || location.origin.indexOf('dev') !== 1) {
|
|
|
- location.href = this.$store.state.domainConfig.siteUrl + '/?loginbox=show'
|
|
|
+ location.href = this.$store.state.domainConfig.siteUrl + '/?loginbox=show&next=' + encodeURIComponent(location.href)
|
|
|
} else {
|
|
|
- location.href = this.$store.state.domainConfig.siteUrl + '/?loginbox=show'
|
|
|
+ location.href = this.$store.state.domainConfig.siteUrl + '/?loginbox=show&next=' + encodeURIComponent(location.href)
|
|
|
}
|
|
|
}
|
|
|
return false
|
|
|
@@ -98,7 +98,7 @@ Vue.mixin({
|
|
|
if (this.$deviceType.app) {
|
|
|
location.href = "proginn://login?backToPage=true";
|
|
|
} else {
|
|
|
- location.href = this.$store.state.domainConfig.siteUrl + '/?loginbox=show'
|
|
|
+ location.href = this.$store.state.domainConfig.siteUrl + '/?loginbox=show&next=' + encodeURIComponent(location.href)
|
|
|
}
|
|
|
} else {
|
|
|
this.$message.closeAll()
|
|
|
@@ -110,7 +110,7 @@ Vue.mixin({
|
|
|
if (that.$deviceType.app) {
|
|
|
location.href = "proginn://login?backToPage=true";
|
|
|
} else {
|
|
|
- location.href = that.$store.state.domainConfig.siteUrl + '/?loginbox=show'
|
|
|
+ location.href = that.$store.state.domainConfig.siteUrl + '/?loginbox=show&next=' + encodeURIComponent(location.href)
|
|
|
}
|
|
|
}
|
|
|
})
|