Commit c39ce500 by 施宇

1

parent 02c5a272
...@@ -67,10 +67,8 @@ ...@@ -67,10 +67,8 @@
} }
}, },
beforeCreate(){ beforeCreate(){
console.log(11111111)
let href = window.location.href; let href = window.location.href;
if(href.indexOf('groupmessage') > -1 || href.indexOf('singlemessage') > -1 || href.indexOf('timeline') > -1){ if(href.indexOf('groupmessage') > -1 || href.indexOf('singlemessage') > -1 || href.indexOf('timeline') > -1){
console.log(111)
href = href.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/, '#'); href = href.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/, '#');
window.location.replace(href); window.location.replace(href);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment