Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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
office
haoban-3
Commits
81f0a962
Commit
81f0a962
authored
May 27, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 调整脚本
parent
a3aa45ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
create-menu-json.js
menu-data/create-menu-json.js
+2
-2
result.xlsx
menu-data/result.xlsx
+0
-0
No files found.
menu-data/create-menu-json.js
View file @
81f0a962
...
@@ -54,7 +54,7 @@ function createMenuJson(data, parentCode) {
...
@@ -54,7 +54,7 @@ function createMenuJson(data, parentCode) {
const
item
=
{
const
item
=
{
menuName
,
menuName
,
menuCode
:
parentCode
?
parentCode
+
menuIndex
:
'hb_m'
+
menuIndex
,
menuCode
:
parentCode
?
parentCode
+
menuIndex
:
'hb_m'
+
menuIndex
,
parentCode
,
parentCode
:
parentCode
||
'0'
,
menuUrl
,
menuUrl
,
menuType
:
0
,
menuType
:
0
,
iconUrl
,
iconUrl
,
...
@@ -136,7 +136,7 @@ function createButtonJson(data, menuJson) {
...
@@ -136,7 +136,7 @@ function createButtonJson(data, menuJson) {
parentCode
:
menuCode
,
parentCode
:
menuCode
,
menuType
:
5
,
menuType
:
5
,
isRight
,
isRight
,
buttonType
,
buttonType
:
buttonType
==
1
?
1
:
0
,
toUrl
toUrl
};
};
result
.
push
(
item
);
result
.
push
(
item
);
...
...
menu-data/result.xlsx
View file @
81f0a962
No preview for this file type
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