Skip to content

Commit

Permalink
fix🐛: 更新包版本,与修复隐藏菜单显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Akiraka committed Feb 21, 2024
1 parent 5ae59b5 commit 4397500
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,33 @@
"preview": "vite preview"
},
"dependencies": {
"@ant-design/icons": "^5.2.6",
"@ant-design/icons": "^5.3.0",
"@iconify/vue": "^4.1.1",
"@arco-themes/vue-go-admin": "^0.0.1",
"@codemirror/lang-html": "^6.4.6",
"@codemirror/lang-javascript": "^6.2.1",
"@codemirror/lang-html": "^6.4.8",
"@codemirror/lang-javascript": "^6.2.2",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/theme-one-dark": "^6.1.2",
"@vueuse/core": "^10.6.1",
"axios": "^1.6.2",
"axios": "^1.6.7",
"codemirror": "^6.0.1",
"cropperjs": "^1.6.1",
"js-cookie": "^3.0.5",
"pinia": "^2.1.7",
"vue": "^3.3.8",
"vue": "^3.4.19",
"vue-codemirror": "^6.1.1",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@arco-design/web-vue": "^2.53.2",
"@vitejs/plugin-vue": "^4.4.1",
"eslint": "^8.53.0",
"eslint-plugin-vue": "^9.18.1",
"@arco-design/web-vue": "^2.54.4",
"@vitejs/plugin-vue": "^5.0.4",
"eslint": "^8.56.0",
"eslint-plugin-vue": "^9.21.1",
"mockjs": "^1.1.0",
"sass": "^1.69.5",
"sass": "^1.71.1",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.0.10",
"vite-plugin-mock": "^3.0.0",
"vite": "^5.1.3",
"vite-plugin-mock": "^3.0.1",
"vite-svg-loader": "^5.1.0"
}
}
4 changes: 2 additions & 2 deletions src/layout/components/Menu/SubMenu.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<template v-for="menu in props.menuList" :key="menu.menuId">
<a-sub-menu
v-if="menu.children && menu.menuType == 'M' && menu.visible == 0"
v-if="menu.children && menu.menuType === 'M' && menu.visible === '0'"
:key="menu.path"
>
<template #icon>
Expand All @@ -11,7 +11,7 @@
<sub-menu :menuList="menu.children" />
</a-sub-menu>
<a-menu-item
v-if="menu.menuType == 'C' && menu.visible && isRouteParams(menu.path)"
v-if="menu.menuType === 'C' && menu.visible && menu.visible === '0'"
:key="menu.path"
>{{ menu.title }}</a-menu-item>
</template>
Expand Down

0 comments on commit 4397500

Please sign in to comment.