|
@@ -343,9 +343,9 @@ export default {
|
|
|
},
|
|
|
redirectIfNess() {
|
|
|
var href = window.location.href;
|
|
|
- alert(href, '<====== 当前页面的地址')
|
|
|
+ const text = decodeURIComponent(href)
|
|
|
if (href.indexOf('path') > 0) {
|
|
|
- const linkAddress = href.split('path=/#')[1]
|
|
|
+ const linkAddress = text.split('path=/#')[1]
|
|
|
const paths = linkAddress.split('&hasTriedAutoLogin')[0]
|
|
|
this.$router.push(paths)
|
|
|
}
|