Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
5139265d
Commit
5139265d
authored
Aug 13, 2021
by
RuoYi
Browse files
默认首页使用keep-alive缓存
parent
8a67af6c
Changes
6
Hide whitespace changes
Inline
Side-by-side
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java
View file @
5139265d
...
...
@@ -13,7 +13,6 @@ import com.ruoyi.system.mapper.SysConfigMapper;
import
com.ruoyi.system.service.ISysConfigService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.PostConstruct
;
import
java.util.Collection
;
import
java.util.List
;
...
...
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictTypeServiceImpl.java
View file @
5139265d
...
...
@@ -12,7 +12,6 @@ import com.ruoyi.system.service.ISysDictTypeService;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.PostConstruct
;
import
java.util.List
;
...
...
ruoyi-ui/src/router/index.js
View file @
5139265d
...
...
@@ -66,8 +66,8 @@ export const constantRoutes = [
{
path
:
'
index
'
,
component
:
(
resolve
)
=>
require
([
'
@/views/index
'
],
resolve
),
name
:
'
首页
'
,
meta
:
{
title
:
'
首页
'
,
icon
:
'
dashboard
'
,
noCache
:
true
,
affix
:
true
}
name
:
'
Index
'
,
meta
:
{
title
:
'
首页
'
,
icon
:
'
dashboard
'
,
affix
:
true
}
}
]
},
...
...
ruoyi-ui/src/utils/request.js
View file @
5139265d
...
...
@@ -64,7 +64,7 @@ service.interceptors.response.use(res => {
location
.
href
=
'
/index
'
;
})
}).
catch
(()
=>
{});
return
Promise
.
reject
()
return
Promise
.
reject
(
'
令牌验证失败
'
)
}
else
if
(
code
===
500
)
{
Message
({
message
:
msg
,
...
...
ruoyi-ui/src/views/index.vue
View file @
5139265d
...
...
@@ -601,7 +601,7 @@
<
script
>
export
default
{
name
:
"
i
ndex
"
,
name
:
"
I
ndex
"
,
data
()
{
return
{
// 版本号
...
...
ruoyi-ui/src/views/system/role/selectUser.vue
View file @
5139265d
...
...
@@ -64,7 +64,7 @@ export default {
props
:
{
// 角色编号
roleId
:
{
type
:
String
type
:
[
Number
,
String
]
}
},
data
()
{
...
...
Write
Preview
Supports
Markdown
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