fix: 修复bug
This commit is contained in:
@@ -107,7 +107,17 @@ export const usePermisstionStroe = defineStore('permisstion', () => {
|
||||
}
|
||||
|
||||
const removeMenu = () => {
|
||||
menuList.value.length = 0
|
||||
menuList.value = [
|
||||
{
|
||||
name: 'home',
|
||||
path: '/home',
|
||||
icon: 'home',
|
||||
title: '首页',
|
||||
meta: {
|
||||
breadcrumb: true
|
||||
}
|
||||
}
|
||||
]
|
||||
asyncRouters.value.length = 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user