Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cs_vsofpm
Project
Project
Details
Activity
Releases
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
wuhao
cs_vsofpm
Commits
4e33978b
Commit
4e33978b
authored
Jun 14, 2023
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
751277d6
Pipeline
#3820
passed with stages
in 2 minutes and 34 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
package.json
package.json
+2
-1
index.jsx
src/layouts/dashboard/nav/index.jsx
+3
-0
No files found.
package.json
View file @
4e33978b
...
...
@@ -11,6 +11,7 @@
"deploy"
:
"npm run build && npm run gh-pages"
,
"dev"
:
"npm run start:dev"
,
"dev:test"
:
"cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev max dev"
,
"dev:prod"
:
"cross-env REACT_APP_ENV=prod MOCK=none UMI_ENV=dev max dev"
,
"prod"
:
"cross-env REACT_APP_ENV=prod MOCK=none UMI_ENV=dev max dev"
,
"gh-pages"
:
"gh-pages -d dist"
,
"i18n-remove"
:
"pro i18n-remove --locale=zh-CN --write"
,
...
...
@@ -135,4 +136,4 @@
"engines"
:
{
"node"
:
">=12.0.0"
}
}
}
\ No newline at end of file
src/layouts/dashboard/nav/index.jsx
View file @
4e33978b
...
...
@@ -48,6 +48,7 @@ export default function Nav({ openNav, onCloseNav }) {
});
return
result
;
});
console
.
log
(
menuNum
);
useEffect
(()
=>
{
if
(
!
data
)
{
...
...
@@ -242,6 +243,8 @@ export default function Nav({ openNav, onCloseNav }) {
</
Box
>
);
return
(
<
Box
component=
"nav"
...
...
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