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
3e841e57
Commit
3e841e57
authored
Feb 25, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户信息
parent
1844366e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mobileTop.vue
src/components/mobile/mobileTop.vue
+5
-2
No files found.
src/components/mobile/mobileTop.vue
View file @
3e841e57
...
...
@@ -202,7 +202,10 @@
},
//获取用户信息
getUserInfoFunc
()
{
getUserInfoFunc
(
flag
)
{
if
(
flag
){
this
.
userInfo
=
JSON
.
parse
(
this
.
Base64
.
decode
(
window
.
sessionStorage
.
getItem
(
"userInfo"
)));
}
if
(
this
.
userInfo
)
{
this
.
showNavFunc
();
if
(
this
.
userInfo
.
locked
==
1
&&
this
.
userInfo
.
empType
!=
2
)
{
...
...
@@ -297,7 +300,7 @@
window
.
sessionStorage
.
setItem
(
"mobileIndex"
,
-
2
)
}
globalMsg
.
$on
(
"getUserInfo"
,()
=>
{
this
.
getUserInfoFunc
();
this
.
getUserInfoFunc
(
1
);
})
},
beforeDestroy
()
{
...
...
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