init: 初始系统模板

This commit is contained in:
TsMask
2023-09-05 14:38:23 +08:00
parent a5bc16ae4f
commit 1075c8ae4f
130 changed files with 22531 additions and 1 deletions

13
src/typings/router.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
import 'vue-router';
import { MetaRecord, MenuDataItem } from '@ant-design-vue/pro-layout';
declare module 'vue-router' {
interface RouteMeta extends MetaRecord {
/**请求授权 */
requiresAuth?: boolean;
/**权限 */
permissions?: string[];
/**角色 */
roles?: string[];
}
}