在这种情况下,我已经创建了一个子级,但是无法创建子级子级。这是我的JSON文件。我需要一个最多5个步骤的嵌套菜单子项
const NewCourseItems = [
{
state: 'datatables',
name: 'Courses',
type: 'sub',
icon: 'insert_drive_file',
children: [
{ state: 'datatables',
name: 'Lessons',
type: 'sub',
icon: 'insert_drive_file',
children: [
{state: 'basicdatatable', name: 'Lessons'},
]
},
{state: 'basicdatatable', name: 'Quizes'},
{state: 'basicdatatable', name: 'Fee'},
]
},
];