index.ts 162 B

123456
  1. import type { App } from 'vue';
  2. import hasPermi from './hasPermi';
  3. export default function setupDirective(app: App) {
  4. app.directive('hasPermi', hasPermi);
  5. }