Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-08-21 09:38:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
53857abb9c4b64609395ac91cad18a1006ead617
53857abb
1 parent
c0fb75c7
modify
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/store/modules/permission.js
src/store/modules/permission.js
View file @
53857ab
...
...
@@ -69,11 +69,11 @@ const permission = {
// alwaysShow: false,
// children: null,
// };
res
.
data
.
map
((
item
)
=>
{
if
(
item
.
name
==
"AllocationConfig"
)
{
item
.
children
.
push
(
newUrl
);
}
});
//
res.data.map((item) => {
//
if (item.name == "AllocationConfig") {
//
item.children.push(newUrl);
//
}
//
});
res
.
data
=
hasPermi
.
routerPer
(
res
.
data
);
const
sdata
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
));
const
rdata
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
));
...
...
Please
register
or
login
to post a comment