diff --git a/ruoyi-ui/src/views/system/menu/index.vue b/ruoyi-ui/src/views/system/menu/index.vue
index 440cdc30b..eda8d21d9 100644
--- a/ruoyi-ui/src/views/system/menu/index.vue
+++ b/ruoyi-ui/src/views/system/menu/index.vue
@@ -41,7 +41,7 @@
-
+
{{ parseTime(scope.row.createTime) }}
@@ -63,7 +63,6 @@
v-hasPermi="['system:menu:add']"
>新增
-
+
{
- this.menuOptions = response.data;
+ this.menuOptions = [];
+ const menu = { id: 0, label: '主类目', children: [] };
+ menu.children = response.data;
+ this.menuOptions.push(menu);
});
},
// 菜单显示状态字典翻译