|
@@ -65,7 +65,7 @@ export const useAppStore = defineStore('app', {
|
|
this.permission.authsMap = aMap
|
|
this.permission.authsMap = aMap
|
|
const deepMenu = (arr) => {
|
|
const deepMenu = (arr) => {
|
|
return arr.filter((v) => {
|
|
return arr.filter((v) => {
|
|
- if (this.permission.menusMap.has(v.name)) {
|
|
|
|
|
|
+ if (this.permission.menusMap.has(v.name) || v.meta?.noAuth) {
|
|
if (v.children?.length > 0) {
|
|
if (v.children?.length > 0) {
|
|
v.children = deepMenu(v.children)
|
|
v.children = deepMenu(v.children)
|
|
}
|
|
}
|