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
15abd4d0
Commit
15abd4d0
authored
Sep 08, 2021
by
RuoYi
Browse files
优化提示
parent
a7376b36
Changes
3
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/components/ThemePicker/index.vue
View file @
15abd4d0
...
...
@@ -47,14 +47,6 @@ export default {
const
themeCluster
=
this
.
getThemeCluster
(
val
.
replace
(
'
#
'
,
''
))
const
originalCluster
=
this
.
getThemeCluster
(
oldVal
.
replace
(
'
#
'
,
''
))
const
$message
=
this
.
$message
({
message
:
'
正在切换主题,请稍后...
'
,
customClass
:
'
theme-message
'
,
type
:
'
success
'
,
duration
:
0
,
iconClass
:
'
el-icon-loading
'
})
const
getHandler
=
(
variable
,
id
)
=>
{
return
()
=>
{
const
originalCluster
=
this
.
getThemeCluster
(
ORIGINAL_THEME
.
replace
(
'
#
'
,
''
))
...
...
@@ -91,9 +83,6 @@ export default {
})
this
.
$emit
(
'
change
'
,
val
)
$message
.
close
()
},
updateStyle
(
style
,
oldCluster
,
newCluster
)
{
...
...
ruoyi-ui/src/utils/request.js
View file @
15abd4d0
...
...
@@ -66,7 +66,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/tool/gen/index.vue
View file @
15abd4d0
...
...
@@ -239,8 +239,6 @@ export default {
if
(
time
!=
null
&&
time
!=
this
.
uniqueId
)
{
this
.
uniqueId
=
time
;
this
.
queryParams
.
pageNum
=
Number
(
this
.
$route
.
query
.
pageNum
);
this
.
dateRange
=
[];
this
.
resetForm
(
"
queryForm
"
);
this
.
getList
();
}
},
...
...
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