mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-08-08 12:19:01 +08:00
fix: lint fix
This commit is contained in:
parent
3c04bbce8e
commit
5b4b0bd9ad
@ -28,7 +28,7 @@ export const usePermissionStore = defineStore('permission', {
|
||||
getMenuItem(item, parent) {
|
||||
const route = this.generateRoute(item, item.show ? null : parent?.key)
|
||||
if (item.enable && route.path && !route.path.startsWith('http'))
|
||||
this.accessRoutes.push(route)
|
||||
this.accessRoutes.push(route)
|
||||
const menuItem = {
|
||||
label: route.meta.title,
|
||||
key: route.name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user