dataease-dm/core/core-frontend/src/directive/index.ts
2023-10-23 22:00:14 +08:00

6 lines
184 B
Java

import { checkPermission } from './Permission'
import type { App } from 'vue'
export const installDirective = (app: App<Element>) => {
app.directive('permission', checkPermission)
}