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
JSH ERP
Commits
877a6f45
Commit
877a6f45
authored
Feb 12, 2022
by
季圣华
Browse files
解决插件菜单不显示的bug
parent
f8e608f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/mixins/JeecgListMixin.js
View file @
877a6f45
...
...
@@ -353,9 +353,13 @@ export const JeecgListMixin = {
initActiveBtnStr
()
{
let
btnStrList
=
Vue
.
ls
.
get
(
'
winBtnStrList
'
);
//按钮功能列表 JSON字符串
this
.
btnEnableList
=
""
;
//按钮列表
if
(
location
.
pathname
&&
btnStrList
)
{
let
pathName
=
location
.
pathname
if
(
pathName
.
indexOf
(
'
/plugins
'
)
>-
1
)
{
pathName
=
'
/system
'
+
pathName
}
if
(
pathName
&&
btnStrList
)
{
for
(
let
i
=
0
;
i
<
btnStrList
.
length
;
i
++
)
{
if
(
btnStrList
[
i
].
url
===
location
.
path
n
ame
)
{
if
(
btnStrList
[
i
].
url
===
path
N
ame
)
{
if
(
btnStrList
[
i
].
btnStr
)
{
this
.
btnEnableList
=
btnStrList
[
i
].
btnStr
;
}
...
...
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