From ddfd2c45dea517f5330a2da02bba253479fe0fe0 Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期五, 23 八月 2024 19:24:06 +0800 Subject: [PATCH] fix: 权限 --- src/directive/index.ts | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/directive/index.ts b/src/directive/index.ts index 85c567f..9e6d930 100644 --- a/src/directive/index.ts +++ b/src/directive/index.ts @@ -1,8 +1,10 @@ import { App } from 'vue'; import permission from './permission'; +import hasPermi from './hasPermi'; export default { install(Vue: App) { Vue.directive('permission', permission); + Vue.directive('hasPermi', hasPermi); }, }; -- Gitblit v1.8.0