Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
Project
Project
Details
Activity
Releases
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
张伯涛
NLT-e-cigarette
Commits
397555dd
Commit
397555dd
authored
Jun 06, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
313e8265
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
newBG.jpg
src/assets/image/newBG.jpg
+0
-0
permission.js
src/store/modules/permission.js
+5
-3
login.vue
src/views/login/login.vue
+1
-1
No files found.
src/assets/image/newBG.jpg
0 → 100644
View file @
397555dd
111 KB
src/store/modules/permission.js
View file @
397555dd
...
...
@@ -20,10 +20,12 @@ const permission = {
return
new
Promise
(
resolve
=>
{
// 向后端请求路由数据
// getInfo().then(res => {
const
accessedRoutes
=
filterAsyncRouter
(
res
.
data
.
menus
[
1
].
children
)
const
accessedRoutes
=
filterAsyncRouter
(
res
.
data
.
menus
[
0
].
children
)
console
.
log
(
'进来了'
,
accessedRoutes
)
for
(
let
i
=
0
,
l
=
res
.
data
.
menus
[
1
].
children
.
length
;
i
<
l
;
i
++
)
{
res
.
data
.
menus
[
1
].
children
[
i
].
showFather
=
'false'
for
(
let
i
=
0
,
l
=
res
.
data
.
menus
[
0
].
children
.
length
;
i
<
l
;
i
++
)
{
if
(
res
.
data
.
menus
[
0
].
children
[
i
].
path
===
'/entry'
)
{
res
.
data
.
menus
[
0
].
children
[
i
].
showFather
=
'false'
}
}
if
(
accessedRoutes
[
0
])
{
const
firstChild
=
getFirstChild
(
accessedRoutes
[
0
])
...
...
src/views/login/login.vue
View file @
397555dd
...
...
@@ -163,7 +163,7 @@ export default {
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
background-image
:
url("../../assets/image/
bg.pn
g")
;
background-image
:
url("../../assets/image/
newBG.jp
g")
;
background-size
:
cover
;
.companyTitle
{
position
:
absolute
;
...
...
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