Commit db2d55f8 authored by zhangyanni's avatar zhangyanni

提交分享朋友圈

parent 4afb6d39
......@@ -779,7 +779,7 @@ export default {
//获取是否有openId ,如果没有就去授权
isHasOpendIdFunc(id) {
var hrefUrl = document.location.href.indexOf("?from=singlemessage") != -1?(document.location.href.replace("?from=singlemessage", "")).split("#/")[0]:document.location.href.indexOf("?from=groupmessage") != -1?(document.location.href.replace("?from=groupmessage", "")).split("#/")[0]:document.location.href.split("#/")[0];
var hrefUrl = document.location.href.indexOf("?from=singlemessage") != -1?(document.location.href.replace("?from=singlemessage", "")).split("#/")[0]:document.location.href.indexOf("?from=groupmessage") != -1?(document.location.href.replace("?from=groupmessage", "")).split("#/")[0]:document.location.href.indexOf("?from=timeline") != -1?(document.location.href.replace("?from=timeline", "")).split("#/")[0]:document.location.href.split("#/")[0];
var userInfo = this.getCookie("userInfo") ? JSON.parse(require('js-base64').Base64.decode(this.getCookie("userInfo"))) : null;
this.setUserInfoCookie("currentChannelId", id);
if(userInfo==null){
......
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 to comment