feat(ui): 无权限判断

This commit is contained in:
廖彦棋
2024-03-14 17:19:39 +08:00
parent ac5e67ea73
commit f01c764589
3 changed files with 20 additions and 13 deletions

View File

@@ -5,13 +5,5 @@ declare module "*.vue" {
const component: DefineComponent<{}, {}, any>;
export default component;
}
import 'vue-router'
declare module 'vue-router' {
interface RouteMeta {
title?: string
icon?: any
permission?: boolean | string | string[]
}
}
declare const __AUTH_KEY: string;
declare const __AUTH_KEY: string;