8
0

index.js 168 B

1234567
  1. import { vAuthBtn } from './auth-btn'
  2. //注册自定义指令
  3. export const setupDirective = (App) => {
  4. //自定义指令
  5. App.directive('auth-btn', vAuthBtn)
  6. }