Browse Source

fix(demo): add mock data `account detail` route

添加mock数据中缺失的账号详情路由

fixed: #858
无木 3 years ago
parent
commit
993e19dcc3
2 changed files with 17 additions and 0 deletions
  1. 5 0
      CHANGELOG.zh_CN.md
  2. 12 0
      mock/sys/menu.ts

+ 5 - 0
CHANGELOG.zh_CN.md

@@ -1,3 +1,8 @@
+### 🐛 Bug Fixes
+
+- **Table** 修复滚动条样式问题
+- **其它** 修复菜单默认折叠的配置不起作用的问题
+
 ## 2.6.0(2021-07-04)
 
 ### ✨ Features

+ 12 - 0
mock/sys/menu.ts

@@ -129,6 +129,18 @@ const sysRoute = {
       component: '/demo/system/account/index',
     },
     {
+      path: 'account_detail/:id',
+      name: 'AccountDetail',
+      meta: {
+        hideMenu: true,
+        title: 'routes.demo.system.account_detail',
+        ignoreKeepAlive: true,
+        showMenu: false,
+        currentActiveMenu: '/system/account',
+      },
+      component: '/demo/system/account/AccountDetail',
+    },
+    {
       path: 'role',
       name: 'RoleManagement',
       meta: {