|
@@ -344,11 +344,8 @@ export default {
|
|
|
redirectIfNess() {
|
|
|
var href = window.location.href;
|
|
|
if (href.indexOf('path') > 0) {
|
|
|
- var path = href.split('path=')[1].split('&')[0];
|
|
|
- if (path.indexOf('%2F') > 0) {
|
|
|
- path = path.replace('%2F','/');
|
|
|
- }
|
|
|
- this.$router.push(path);
|
|
|
+ const linkAddress = href.split('path=/#')[1]
|
|
|
+ this.$router.push(linkAddress);
|
|
|
}
|
|
|
},
|
|
|
|