fix: 修复bug

This commit is contained in:
lilinyuan
2024-05-09 17:32:36 +08:00
parent 6557b5d2c8
commit 639caadc46

View File

@@ -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
}