Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
Overview
Overview
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
yaru
fgqyxxlr
Commits
4f57c28f
Commit
4f57c28f
authored
Mar 25, 2020
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复context-path的情况下个人中心刷新导致样式问题
parent
2a718ba4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
ruoyi-admin/src/main/resources/templates/index.html
+1
-5
No files found.
ruoyi-admin/src/main/resources/templates/index.html
View file @
4f57c28f
...
...
@@ -258,8 +258,6 @@ var skin = storage.get("skin");
var
mode
=
"history"
;
// 历史访问路径缓存
var
historyPath
=
storage
.
get
(
"historyPath"
);
// 排除非左侧菜单链接
var
excludesUrl
=
[
"/system/user/profile"
];
// 本地主题优先,未设置取系统配置
if
(
$
.
common
.
isNotEmpty
(
skin
)){
...
...
@@ -289,9 +287,7 @@ function switchSkin() {
/** 刷新时访问路径页签 */
function
applyPath
(
url
)
{
$
(
'a[href$="'
+
decodeURI
(
url
)
+
'"]'
).
click
();
if
(
$
.
inArray
(
url
,
excludesUrl
)){
$
(
'a[href$="'
+
url
+
'"]'
).
parent
(
"li"
).
addClass
(
"selected"
).
parents
(
"li"
).
addClass
(
"active"
).
end
().
parents
(
"ul"
).
addClass
(
"in"
);
}
$
(
'a[href$="'
+
url
+
'"]'
).
parent
(
"li"
).
addClass
(
"selected"
).
parents
(
"li :not(.user-panel)"
).
addClass
(
"active"
).
end
().
parents
(
"ul"
).
addClass
(
"in"
);
}
$
(
function
()
{
...
...
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