1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-08-08 20:29:00 +08:00

fix: lint fix

This commit is contained in:
zclzone 2025-08-04 09:39:13 +08:00
parent 3c04bbce8e
commit 5b4b0bd9ad

View File

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