Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-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
徐俊
yn-science-front
Commits
bd2a02e7
Commit
bd2a02e7
authored
Jul 23, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
222
parent
da4dcea1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
app.js
src/store/modules/app.js
+5
-0
No files found.
src/store/modules/app.js
View file @
bd2a02e7
...
...
@@ -17,6 +17,11 @@ const mutations = {
},
setTabsArray
:
(
state
,
payload
)
=>
{
state
.
tabsArray
=
payload
if
(
!!
state
.
tabsArray
&&
state
.
tabsArray
.
length
>
0
)
{
if
(
state
.
tabsArray
[
0
].
key
!=
'0'
)
{
state
.
tabsArray
.
unshift
({
title
:
'首页'
,
key
:
'0'
,
code
:
'home'
,
keepAlive
:
1
,
router
:
'/home'
,
closable
:
false
})
}
}
},
setSystemType
:
(
state
,
payload
)
=>
{
state
.
systemType
=
payload
...
...
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