Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
data_management_system
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
张伯涛
data_management_system
Commits
b45c2c03
Commit
b45c2c03
authored
Dec 03, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
eb1d3874
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
index.js
ruoyi-ui/src/router/index.js
+5
-1
index.vue
ruoyi-ui/src/views/index.vue
+0
-4
No files found.
ruoyi-ui/src/router/index.js
View file @
b45c2c03
...
...
@@ -78,7 +78,11 @@ export const constantRoutes = [
path
:
'index'
,
component
:
()
=>
import
(
'@/views/index'
),
name
:
'Index'
,
meta
:
{
title
:
'首页'
,
icon
:
'dashboard'
,
affix
:
true
}
meta
:
{
title
:
'首页'
,
icon
:
'dashboard'
,
noCache
:
true
}
// meta: { title: '首页', icon: 'dashboard', affix: true }
// noCache表示没有缓存,也就是说每次打开首页都刷新
// affix表示固定,也就是说,不能关闭该标签页
}
]
},
...
...
ruoyi-ui/src/views/index.vue
View file @
b45c2c03
...
...
@@ -87,11 +87,7 @@ export default {
CumulativeData
:
[],
// 累计数据
};
},
// beforeRouteEnter() {
// console.log('beforeRouteEnterbeforeRouteEnter')
// },
created
()
{
// console.log('createdcreatedcreated')
this
.
getList
()
},
mounted
()
{
...
...
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