feat: 单个菜单时替换父菜单处理
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { IconMenuTable } from '@/components/AppIcons'
|
||||
import Layout from '@/layout/index.vue'
|
||||
import { markRaw } from 'vue'
|
||||
|
||||
export default [
|
||||
{
|
||||
@@ -19,6 +21,7 @@ export default [
|
||||
meta: {
|
||||
title: '表格',
|
||||
role: ['admin'],
|
||||
icon: markRaw(IconMenuTable),
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user