Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
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
liyang
sts网站
Commits
5139265d
Commit
5139265d
authored
Aug 13, 2021
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
默认首页使用keep-alive缓存
parent
8a67af6c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
7 deletions
+5
-7
SysConfigServiceImpl.java
...a/com/ruoyi/system/service/impl/SysConfigServiceImpl.java
+0
-1
SysDictTypeServiceImpl.java
...com/ruoyi/system/service/impl/SysDictTypeServiceImpl.java
+0
-1
index.js
ruoyi-ui/src/router/index.js
+2
-2
request.js
ruoyi-ui/src/utils/request.js
+1
-1
index.vue
ruoyi-ui/src/views/index.vue
+1
-1
selectUser.vue
ruoyi-ui/src/views/system/role/selectUser.vue
+1
-1
No files found.
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
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