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:
parent
3c04bbce8e
commit
5b4b0bd9ad
@ -28,7 +28,7 @@ export const usePermissionStore = defineStore('permission', {
|
|||||||
getMenuItem(item, parent) {
|
getMenuItem(item, parent) {
|
||||||
const route = this.generateRoute(item, item.show ? null : parent?.key)
|
const route = this.generateRoute(item, item.show ? null : parent?.key)
|
||||||
if (item.enable && route.path && !route.path.startsWith('http'))
|
if (item.enable && route.path && !route.path.startsWith('http'))
|
||||||
this.accessRoutes.push(route)
|
this.accessRoutes.push(route)
|
||||||
const menuItem = {
|
const menuItem = {
|
||||||
label: route.meta.title,
|
label: route.meta.title,
|
||||||
key: route.name,
|
key: route.name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user