Commit d7095816 by 施宇

1

parent e70e3d65
......@@ -67,6 +67,7 @@
}
},
beforeCreate(){
//微信二次分享会在url上面带上参数,导致分享失败
let href = window.location.href;
if(href.indexOf('groupmessage') > -1 || href.indexOf('singlemessage') > -1 || href.indexOf('timeline') > -1){
href = href.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/, '#');
......
......@@ -110,6 +110,7 @@ import Vue from 'vue';
import {Swipe, SwipeItem} from 'vant';
Vue.use(Swipe).use(SwipeItem)
export default {
name: "oscilloscope",
data() {
return {
......
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