Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
db2d55f8
Commit
db2d55f8
authored
Aug 04, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交分享朋友圈
parent
4afb6d39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
public.js
src/assets/js/public.js
+1
-1
No files found.
src/assets/js/public.js
View file @
db2d55f8
...
...
@@ -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
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment