Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
folacin-front
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
ynby
folacin-front
Commits
69667d0c
Commit
69667d0c
authored
Jul 07, 2021
by
罗成兵
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gcl' of
http://gitlab.yiboshi.com/ynby/folacin-front
into gcl
Conflicts: src/views/Home.vue
parents
7475826a
928fec35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Home.vue
src/views/Home.vue
+3
-2
No files found.
src/views/Home.vue
View file @
69667d0c
...
...
@@ -55,7 +55,8 @@
created
()
{
//获取妇幼权限和登录基本信息
// document.cookie = 'bGNnd3lwdF9hdA=8f26b5cc-1d66-4b31-8b86-26d916209e1e;'//昆明市
document
.
cookie
=
'bGNnd3lwdF9hdA=e9a6025f-09d8-4181-acea-3232f53105a6;'
//云南省
document
.
cookie
=
'bGNnd3lwdF9hdA=a551a5a0-aa58-45fe-be4a-9304aa60b594;'
//云南省
let
cookieToken
=
getCookie
(
'bGNnd3lwdF9hdA'
)
if
(
cookieToken
)
{
//根据cookie获取token并调用接口获取菜单并设置初始选中菜单
window
.
sessionStorage
.
setItem
(
'token'
,
'bearer'
+
' '
+
cookieToken
);
...
...
@@ -64,7 +65,7 @@
// window.sessionStorage.setItem('menuList', JSON.stringify(data.menuList));
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
window
.
sessionStorage
.
setItem
(
'allEnum'
,
JSON
.
stringify
(
data
.
enumValueList
))
this
.
setInitMenuInfo
()
;
this
.
setInitMenuInfo
()
this
.
showChildren
=
true
})
}
else
{
...
...
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