Browse Source

fix(demo): fix roles mock data

无木 3 years ago
parent
commit
c375e32305
1 changed files with 1 additions and 0 deletions
  1. 1 0
      mock/demo/system.ts

+ 1 - 0
mock/demo/system.ts

@@ -28,6 +28,7 @@ const roleList = (() => {
       roleValue: '@first',
       createTime: '@datetime',
       remark: '@cword(10,20)',
+      menu: [['0', '1', '2'], ['0', '1'], ['0', '2'], ['2']][index],
       'status|1': ['0', '1'],
     });
   }