Commit 4e33978b authored by wuhao's avatar wuhao 🎯

asder

parent 751277d6
Pipeline #3820 passed with stages
in 2 minutes and 34 seconds
......@@ -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
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment