Skip to content

Commit

Permalink
refactor(projects): mock权限相关数据优化
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Apr 25, 2022
1 parent 5c75e9d commit 41e46a5
Show file tree
Hide file tree
Showing 12 changed files with 915 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build/plugins/auto-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default (srcPath: string) => {
defaultClass: 'inline-block'
}),
Components({
dts: true,
dts: 'src/typings/components.d.ts',
resolvers: [NaiveUiResolver(), IconsResolver({ customCollections: ['custom'], componentPrefix: 'icon' })]
})
];
Expand Down
2 changes: 1 addition & 1 deletion mock/api/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ const routes: AuthRoute.Route[] = [
title: '关于',
requiresAuth: true,
singleLayout: 'basic',
permissions: ['super', 'admin', 'test'],
permissions: ['super', 'admin', 'user'],
icon: 'fluent:book-information-24-regular',
order: 8
}
Expand Down
Loading

0 comments on commit 41e46a5

Please sign in to comment.