Skip to content

Commit

Permalink
fix(设备模拟器): 权限控制
Browse files Browse the repository at this point in the history
设备模拟器菜单权限控制

re #203
  • Loading branch information
Lind-pro committed Sep 24, 2020
1 parent 4d69547 commit c897400
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,11 +430,13 @@ export const routes = [
path: 'simulator',
name: '模拟测试',
icon: 'bug',
authority: ['network-simulator', 'admin'],
routes: [
{
path: '/simulator/device',
name: '设备模拟器',
icon: 'paper-clip',
authority: ['network-simulator', 'admin'],
component: './simulator/device',
}
]
Expand Down

0 comments on commit c897400

Please sign in to comment.