feat: 单个菜单时替换父菜单处理

This commit is contained in:
张传龙
2022-04-23 22:34:12 +08:00
parent cf1b83d3f1
commit bf2d45416f
5 changed files with 70 additions and 55 deletions

View File

@@ -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: [
{