Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
XiTianSenMall
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
leiqingsong
XiTianSenMall
Commits
54f55b15
Commit
54f55b15
authored
4 years ago
by
leiqingsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
00fc81ed
master
dev_lqs
dev_wm
1 merge request
!46
Dev lqs
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
localGetter.js
H5/src/utils/localGetter.js
+0
-8
No files found.
H5/src/utils/localGetter.js
View file @
54f55b15
export
function
getUserId
()
{
<<<<<<<
HEAD
let
userInfo
=
localStorage
.
getItem
(
'user'
)
if
(
userInfo
){
return
JSON
.
parse
(
userInfo
).
userId
||
''
;
...
...
@@ -7,11 +6,4 @@ export function getUserId() {
return
''
}
=======
if
(
localStorage
.
getItem
(
"user"
))
{
return
JSON
.
parse
(
localStorage
.
getItem
(
'user'
)).
userId
;
}
else
{
return
""
;
}
>>>>>>>
fda7ecc8c9d2dc436d2ae853fbd549faf9b8cb85
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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