Commit 1a2e7e12 by 施宇

1

parent a6cc4fec
...@@ -76,14 +76,14 @@ ...@@ -76,14 +76,14 @@
if (!this.isLogin) { if (!this.isLogin) {
this.$store.dispatch({ this.$store.dispatch({
type: "wxShare", type: "wxShare",
current_url:location.href.split('#')[0] current_url:encodeURIComponent(window.location.href)
}); });
} }
else{ else{
if (util.getCookie("Yo4teW_uid")) { if (util.getCookie("Yo4teW_uid")) {
this.$store.dispatch({ this.$store.dispatch({
type: "wxShare", type: "wxShare",
current_url:location.href.split('#')[0] current_url:encodeURIComponent(window.location.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