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